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