summaryrefslogtreecommitdiff
path: root/testing/libevent/PKGBUILD
blob: a7f9e724faf387cdaf862f4202bf60182fb8816e (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
# $Id: PKGBUILD 122876 2011-05-07 01:31:31Z eric $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=libevent
pkgver=2.0.11
pkgrel=1
pkgdesc="An event notification library"
arch=('i686' 'x86_64')
url="http://www.monkey.org/~provos/libevent/"
license=('GPL2')
depends=('openssl')
options=('!libtool')
source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
md5sums=('bd7ef33c08aa6401c8d67dbc88679ded')

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
}