mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
39 lines
1 KiB
Bash
39 lines
1 KiB
Bash
# $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>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - pkgrel bump for aur migration, remove when bumped upstream
|
|
|
|
pkgname=tevent
|
|
pkgver=0.9.18
|
|
pkgrel=1.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')
|