diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bcfg2/APKBUILD | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/testing/bcfg2/APKBUILD b/testing/bcfg2/APKBUILD index 503d3308d9..b3d392ac8d 100644 --- a/testing/bcfg2/APKBUILD +++ b/testing/bcfg2/APKBUILD @@ -1,28 +1,28 @@ # Contributor: Cameron Banta <cbanta@gmail.com> -# Maintainer: Cameron Banta <cbanta@gmail.com> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=bcfg2 -pkgver=1.1.1 +pkgver=1.2.2 pkgrel=1 -pkgdesc="configuration management tool" -url="http://trac.mcs.anl.gov/projects/bcfg2" -arch="all" -license="Custom" +pkgdesc="A configuration management tool" +url="http://bcfg2.org" +arch="noarch" +license="BSD" depends="python" -makedepends="python-dev" -install= +makedepends="python-dev py-setuptools" +install="" subpackages="$pkgname-doc $pkgname-server" source="ftp://ftp.mcs.anl.gov/pub/bcfg/$pkgname-$pkgver.tar.gz - bcfg2-server.initd - APK.py" + bcfg2-server.initd" +_builddir="$srcdir"/$pkgname-$pkgver -#no build needed - pure python +build() { + cd "$_builddir" + python setup.py build || return 1 +} package() { - cd "$srcdir"/$pkgname-$pkgver - cp "$srcdir"/APK.py src/lib/Client/Tools/ - python setup.py bdist_dumb --keep-temp --bdist-dir "$pkgdir" - - install -m644 -D COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT + cd "$_builddir" + python setup.py install --root="$pkgdir" || return 1 } server() { @@ -36,6 +36,5 @@ server() { } -md5sums="f8889d629245ecf67994469ed78fbfeb bcfg2-1.1.1.tar.gz -9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd -2acc7c5a8a031a3cb25ab3955d8d1fde APK.py" +md5sums="4364aa17b848730bc57a926ed072b31e bcfg2-1.2.2.tar.gz +9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd" |