blob: 88a9d6c56c6834ce71327ca0e68c0e22cce098dd (
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
|
# $Id: PKGBUILD 136467 2011-08-29 20:57:46Z eric $
# Maintainer:
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=libevent
pkgver=2.0.13
pkgrel=1
pkgdesc="An event notification library"
arch=('i686' 'x86_64')
url="http://www.monkey.org/~provos/libevent/"
license=('GPL2')
depends=('openssl')
optdepends=('python2: to use event_rpcgen.py')
options=('!libtool')
source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
md5sums=('af786b4b3f790c9d3279792edf7867fc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
sed -i 's#python#python2#' event_rpcgen.py
./configure --prefix=/usr --sysconfdir=/etc
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
make DESTDIR="${pkgdir}" install
}
|