# $Id: PKGBUILD 200377 2013-11-27 08:49:58Z tpowa $ # Maintainer: Tobias Powalowski # Contributor: Christian Hesse # Contributor: Marco A Rojas # Contributor: Ng Oon-Ee # Contributor: Thomas Burdick pkgname=tevent pkgver=0.9.19 pkgrel=1 pkgdesc="An event system based on the talloc memory management library" arch=('i686' 'x86_64' 'mips64el') 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=('f9ecb7e344bd20fb40f05e97116523f2')