summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonas Jochmaring2015-07-02 22:14:00 +0200
committerJonas Jochmaring2015-07-02 22:14:00 +0200
commit8747c3168fe3ad7f4d3e70de38b621f3d05c5c9a (patch)
tree40d4eb021575166f21a1b8aace66c1123f2c04d5 /PKGBUILD
downloadaur-8747c3168fe3ad7f4d3e70de38b621f3d05c5c9a.tar.gz
initial import and update to 1.3.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c2f5212cf23
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Jonas Jochamring <mail at feuri dot de
+# Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
+# Contributor: Christian Berendt <christian@thorlin.de>
+
+pkgname=bcfg2
+pkgver=1.3.6
+pkgrel=1
+pkgdesc="Configuration management tool."
+url="http://bcfg2.org"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('python2' 'python2-setuptools' 'python2-lxml' 'python2-lockfile' 'python2-daemon')
+source=("ftp://ftp.mcs.anl.gov/pub/bcfg/${pkgname}-${pkgver}.tar.gz")
+md5sums=('07065402dc1ae4525894fdb148c1b668')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ 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
+}