[arch-commits] Commit in getdns/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:17:23 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:17:23
  Author: felixonmars
Revision: 658882

archrelease: copy trunk to community-staging-x86_64

Added:
  getdns/repos/community-staging-x86_64/
  getdns/repos/community-staging-x86_64/PKGBUILD
    (from rev 658881, getdns/trunk/PKGBUILD)

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

Copied: getdns/repos/community-staging-x86_64/PKGBUILD (from rev 658881, getdns/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:17:23 UTC (rev 658882)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Remi Gacogne <rgacogne at archlinux.org>
+
+pkgname=getdns
+pkgver=1.5.2
+pkgrel=3
+pkgdesc="A modern asynchronous DNS API"
+arch=('x86_64')
+url="https://getdnsapi.net"
+license=('BSD')
+depends=('libbsd' 'libev' 'libevent' 'libidn2' 'libuv' 'libyaml' 'unbound')
+source=("${url}/dist/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('1826a6a221ea9e9301f2c1f5d25f6f5588e841f08b967645bf50c53b970694c0' 'SKIP')
+validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop <willem at nlnetlabs.nl>
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure \
+        --prefix=/usr \
+        --sysconfdir=/etc \
+        --disable-rpath \
+        --enable-static=no \
+        --with-libev \
+        --with-libevent \
+        --with-libuv \
+        --with-trust-anchor=/etc/trusted-key.key \
+        --with-current-date=$(date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y-%m-%dT%H:%M:%S")
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list