diff options
author | root <root@rshg054.dnsready.net> | 2013-04-13 00:05:58 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-13 00:05:58 -0700 |
commit | 8f0418e4a239ba973834592537b474d3aac52d5b (patch) | |
tree | 55787459ba85dcd3ea548b37ca4027ef993c28b5 /extra/tevent/PKGBUILD | |
parent | d976aa5e1544c80dc2457ea20b27f28f3fa05899 (diff) |
Sat Apr 13 00:05:58 PDT 2013
Diffstat (limited to 'extra/tevent/PKGBUILD')
-rw-r--r-- | extra/tevent/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/tevent/PKGBUILD b/extra/tevent/PKGBUILD new file mode 100644 index 000000000..fac6d2aea --- /dev/null +++ b/extra/tevent/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 182652 2013-04-12 07:10:43Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Christian Hesse <mail@eworm.de> +# Contributor: Marco A Rojas <marquicus at gmail dot com> +# Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com> +# Contributor: Thomas Burdick <thomas.burdick@gmail.com> + +pkgname=tevent +pkgver=0.9.18 +pkgrel=1 +pkgdesc="An event system based on the talloc memory management library" +arch=('i686' 'x86_64') +url="https://tevent.samba.org/" +source=("http://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz") +license=('GPL3') +depends=('talloc') +makedepends=('python2') +optdepends=('python2: for python bindings') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # change to use python2 + sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf + export PYTHON=/usr/bin/python2 + + ./configure --prefix=/usr +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make + make DESTDIR=${pkgdir}/ install +} +md5sums=('952535f0bcf002eee5a8db68deb6374b') |