diff options
Diffstat (limited to 'community/python2-systemd/PKGBUILD')
-rw-r--r-- | community/python2-systemd/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/python2-systemd/PKGBUILD b/community/python2-systemd/PKGBUILD new file mode 100644 index 000000000..e956cec53 --- /dev/null +++ b/community/python2-systemd/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 105641 2014-02-12 17:41:55Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com +pkgname=python2-systemd +_pkgname=systemd +pkgver=208 +pkgrel=1 +pkgdesc="Python2 bindings for systemd" +arch=('x86_64' 'i686') +url="http://www.freedesktop.org/wiki/Software/systemd/" +license=('GPL') +depends=('python2' "systemd=$pkgver") +makedepends=('intltool' 'gperf') +source=("http://www.freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz") +md5sums=('df64550d92afbffb4f67a434193ee165') + + +build() { + cd "$_pkgname-$pkgver" + ./configure \ + --libexecdir=/usr/lib \ + --disable-manpages \ + --with-sysvinit-path=/etc/rc.d/init.d \ + --with-rc-local-script-path-start=/etc/rc.d/rc.local \ + PYTHON=python2 + make +} + +package(){ + cd "$_pkgname-$pkgver" + make DESTDIR=$srcdir/root install + install -dm755 $pkgdir/usr/lib/python2.7 + cp -dpr --no-preserve=ownership $srcdir/root/usr/lib/python2.7 $pkgdir/usr/lib/python2.7 +} |