summaryrefslogtreecommitdiffstats
path: root/abs/extra/tevent/PKGBUILD
blob: a7aec061ae8f0c0a193036c5d03968f5dac6e78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id$
# 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.36
pkgrel=1
epoch=1
pkgdesc="An event system based on the talloc memory management library"
arch=('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 \
                    --bundled-libraries=NONE \
                    --builtin-libraries=replace
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	
	make
	make DESTDIR=${pkgdir}/ install
}
md5sums=('87d67bca75b231814435c47bec0aff8a')