blob: 4b41199080b264bf21be820572491825ab9f321e (
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 197437 2013-10-26 01:07:57Z allan $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=libevent
pkgver=2.0.21
pkgrel=3
pkgdesc="An event notification library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.monkey.org/~provos/libevent/"
license=('BSD')
depends=('openssl')
optdepends=('python2: to use event_rpcgen.py')
source=(https://github.com/downloads/${pkgname}/${pkgname}/${pkgname}-$pkgver-stable.tar.gz{,.asc})
build() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
./configure --prefix=/usr --sysconfdir=/etc
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-stable"
make DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/libevent/LICENSE
}
md5sums=('b2405cc9ebf264aa47ff615d9de527a2'
'31ffa4efc611c452697bd120a3bf8f9e')
|