summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonas Jochmaring2015-11-15 16:18:02 +0100
committerJonas Jochmaring2015-11-15 16:18:02 +0100
commit2c3afacb42f02fdceba585597774691b69f2051d (patch)
treef1bfd3e06ce453ce703e21f47a108aaa3628480e /PKGBUILD
parent8747c3168fe3ad7f4d3e70de38b621f3d05c5c9a (diff)
downloadaur-bcfg2.tar.gz
added optdepends needed for bcfg2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c2f5212cf23..63e3ac2614e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,27 @@
pkgname=bcfg2
pkgver=1.3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Configuration management tool."
url="http://bcfg2.org"
license=('BSD')
arch=('i686' 'x86_64')
depends=('python2' 'python2-setuptools' 'python2-lxml' 'python2-lockfile' 'python2-daemon')
+optdepends=('gamin: autodetect changes without bcfg2 server restart (only one needed)'
+ 'python2-pyinotify: autodetect changes without bcfg2 server restart (only one needed)'
+ 'python2-genshi: Genshi templating plugin'
+ 'python2-cheetah: Cheetah templating plugin')
source=("ftp://ftp.mcs.anl.gov/pub/bcfg/${pkgname}-${pkgver}.tar.gz")
md5sums=('07065402dc1ae4525894fdb148c1b668')
build() {
- cd $srcdir/$pkgname-$pkgver
- python2 setup.py build
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py build
}
package() {
cd $srcdir/$pkgname-$pkgver
- python2 setup.py install --root=$pkgdir
+ python2 setup.py install --root=$pkgdir
install -d $pkgdir/usr/lib/systemd/system
install -m 644 redhat/systemd/bcfg2-server.service $pkgdir/usr/lib/systemd/system
install -m 644 redhat/systemd/bcfg2.service $pkgdir/usr/lib/systemd/system