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

Anatol Pomozov anatolik at archlinux.org
Wed Jul 8 05:14:34 UTC 2020


    Date: Wednesday, July 8, 2020 @ 05:14:34
  Author: anatolik
Revision: 391008

archrelease: copy trunk to testing-x86_64

Added:
  libevent/repos/testing-x86_64/
  libevent/repos/testing-x86_64/PKGBUILD
    (from rev 391007, libevent/trunk/PKGBUILD)

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

Copied: libevent/repos/testing-x86_64/PKGBUILD (from rev 391007, libevent/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-07-08 05:14:34 UTC (rev 391008)
@@ -0,0 +1,35 @@
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Judd <jvinet at zeroflux.org>
+
+pkgname=libevent
+pkgver=2.1.12
+pkgrel=1
+pkgdesc="An event notification library"
+arch=('x86_64')
+url="https://libevent.org/"
+license=('BSD')
+depends=('openssl')
+makedepends=('cmake' 'python')
+optdepends=('python: to use event_rpcgen.py')
+source=(https://github.com/libevent/libevent/releases/download/release-$pkgver-stable/$pkgname-$pkgver-stable.tar.gz{,.asc})
+sha256sums=('92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb'
+            'SKIP')
+validpgpkeys=('B35BF85BF19489D04E28C33C21194EBB165733EA'
+              '9E3AC83A27974B84D1B3401DB86086848EF8686D')
+
+build() {
+  cd ${pkgname}-${pkgver}-stable
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DEVENT__LIBRARY_TYPE=SHARED -S . -B build
+  cmake --build build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}-stable
+  cmake --build build --target test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}-stable
+  cmake --build build --target install -- DESTDIR="$pkgdir"
+  install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/libevent/LICENSE
+}



More information about the arch-commits mailing list