PKGBUILDs/extra/tevent/PKGBUILD

40 lines
1 KiB
Bash
Raw Normal View History

2013-04-12 21:00:59 +00:00
# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Christian Hesse <mail@eworm.de>
2013-02-26 22:22:19 +00:00
# Contributor: Marco A Rojas <marquicus at gmail dot com>
# Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com>
# Contributor: Thomas Burdick <thomas.burdick@gmail.com>
2013-04-12 21:00:59 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - pkgrel bump for aur migration, remove when bumped upstream
2013-02-26 22:22:19 +00:00
pkgname=tevent
2013-03-17 21:07:51 +00:00
pkgver=0.9.18
2013-04-12 21:00:59 +00:00
pkgrel=1.1
pkgdesc="An event system based on the talloc memory management library"
2013-03-17 21:07:51 +00:00
arch=('i686' 'x86_64')
2013-02-26 22:22:19 +00:00
url="https://tevent.samba.org/"
source=("http://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz")
2013-04-12 21:00:59 +00:00
license=('GPL3')
2013-02-26 22:22:19 +00:00
depends=('talloc')
makedepends=('python2')
2013-04-12 21:00:59 +00:00
optdepends=('python2: for python bindings')
2013-02-26 22:22:19 +00:00
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
}
2013-04-12 21:00:59 +00:00
md5sums=('952535f0bcf002eee5a8db68deb6374b')