From 38487b0468feb0747f0af88353c653430502ed0c Mon Sep 17 00:00:00 2001 From: OBS User mlschroe Date: Mon, 13 Aug 2012 10:56:40 +0000 Subject: [PATCH] add PKGBUILD file Rev openSUSE:Tools/177 Md5 e2852578be95ca806335f63a26ac8968 2012-08-13 10:56:40 mlschroe None --- PKGBUILD | 17 +++++++++++++++++ build.spec | 2 -- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..135ca4e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=build +pkgver=2012.07.19 +pkgrel=1 +pkgdesc="Build packages in sandbox" +arch=('i686' 'x86_64') +url="https://www.github.com/openSUSE/obs-build" +license=('GPL-2.0+' 'GPL-2.0') +groups=('base-devel') +depends=('perl') +source=(obs-build-${pkgver}.tar.gz) +md5sums=('643d53f6327913eecf57fb6fa166db5e') + +package() { + msg "Installing build ..." + cd "${srcdir}"/obs-build-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/build.spec b/build.spec index 1adac3b9..37f1e390 100644 --- a/build.spec +++ b/build.spec @@ -64,7 +64,6 @@ chroot environment. %package mkbaselibs Summary: Tools to generate base lib packages -Group: Development/Tools/Building # NOTE: this package must not have dependencies which may break boot strapping (eg. perl modules) %description mkbaselibs @@ -73,7 +72,6 @@ for generating base lib packages. %package mkdrpms Summary: Tools to generate delta rpms -Group: Development/Tools/Building Requires: deltarpm # XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq Requires: build