# $Id$ # Maintainer: # Contributor: Judd <jvinet@zeroflux.org> pkgname=libevent pkgver=2.0.10 pkgrel=1 pkgdesc="An event notification library" license=('GPL2') arch=('i686' 'x86_64') url="http://www.monkey.org/~provos/libevent/" depends=('openssl') source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz") options=('!libtool') md5sums=('a37401d26cbbf28185211d582741a3d4') build() { cd "${srcdir}/${pkgname}-${pkgver}-stable" sed -i 's#python#python2#' event_rpcgen.py ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd "${srcdir}/${pkgname}-${pkgver}-stable" make DESTDIR=${pkgdir} install }