blob: 2bba6306d68ec7650fe532e30e3b0617bf3ab7ab (
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
|
pkgname=libevent-git
pkgver=2.1.8.stable.r825.g2db55e43
pkgrel=1
pkgdesc="An event notification library"
arch=('i686' 'x86_64')
url="http://libevent.org/"
license=('BSD')
depends=('openssl')
makedepends=('git')
optdepends=('python2: to use event_rpcgen.py')
provides=(libevent)
conflicts=(libevent)
replaces=(libevent)
source=(git+https://github.com/libevent/libevent)
sha1sums=('SKIP')
pkgver() {
cd libevent
git describe --long | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd libevent
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd libevent
make DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/libevent/LICENSE
}
|