aboutsummaryrefslogtreecommitdiffstats
path: root/libevent/PKGBUILD
blob: 40eaeef134331b2b60c55c543d55de98f577955f (plain) (blame)
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
#Maintainer: Zee Eichel  <zee@dracos-linux.org>

pkgname=libevent
pkgver=2.1.8
pkgrel=1
pkgdesc="An event notification library"
arch=('x86_64')
url="http://libevent.org/"
license=('BSD')
source=("https://github.com/libevent/libevent/releases/download/release-${pkgver}-stable/libevent-${pkgver}-stable.tar.gz")
sha256sums=('965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2')

build() {
	cd "${srcdir}/libevent-${pkgver}-stable"

	./configure --prefix=/usr --disable-static

	make
}

package() {
	cd "${srcdir}/libevent-${pkgver}-stable"

	make install DESTDIR="${pkgdir}"
}