aboutsummaryrefslogtreecommitdiffstats
path: root/libevent/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libevent/PKGBUILD')
-rw-r--r--libevent/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/libevent/PKGBUILD b/libevent/PKGBUILD
new file mode 100644
index 0000000..40eaeef
--- /dev/null
+++ b/libevent/PKGBUILD
@@ -0,0 +1,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}"
+}