[arch-commits] Commit in libevent/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Aug 5 22:47:16 UTC 2019


    Date: Monday, August 5, 2019 @ 22:47:15
  Author: anatolik
Revision: 359205

archrelease: copy trunk to staging-x86_64

Added:
  libevent/repos/staging-x86_64/
  libevent/repos/staging-x86_64/PKGBUILD
    (from rev 359204, libevent/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: libevent/repos/staging-x86_64/PKGBUILD (from rev 359204, libevent/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-08-05 22:47:15 UTC (rev 359205)
@@ -0,0 +1,35 @@
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Judd <jvinet at zeroflux.org>
+
+pkgname=libevent
+pkgver=2.1.11
+pkgrel=1
+pkgdesc="An event notification library"
+arch=('x86_64')
+url="https://libevent.org/"
+license=('BSD')
+depends=('openssl')
+optdepends=('python2: to use event_rpcgen.py')
+source=(https://github.com/libevent/libevent/releases/download/release-$pkgver-stable/$pkgname-$pkgver-stable.tar.gz{,.asc})
+sha256sums=('a65bac6202ea8c5609fd5c7e480e6d25de467ea1917c08290c521752f147283d'
+            'SKIP')
+validpgpkeys=('B35BF85BF19489D04E28C33C21194EBB165733EA'
+              '9E3AC83A27974B84D1B3401DB86086848EF8686D')
+
+build() {
+  cd ${pkgname}-${pkgver}-stable
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --disable-libevent-regress
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}-stable
+  make -j1 check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}-stable
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/libevent/LICENSE
+}


More information about the arch-commits mailing list