mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
35 lines
888 B
Bash
35 lines
888 B
Bash
|
# Maintainer: 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.17
|
||
|
pkgrel=2
|
||
|
pkgdesc="Tevent is an event system based on the talloc memory management library"
|
||
|
arch=('arm')
|
||
|
url="https://tevent.samba.org/"
|
||
|
source=("http://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz")
|
||
|
license=('GPLv3')
|
||
|
depends=('talloc')
|
||
|
makedepends=('python2')
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|
||
|
sha256sums=('9155a85e83b6df38d251c292ca70950dd3f2ba325aad2cb8429ae0a3ee1d6b6c')
|