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

Evangelos Foutras foutrelis at archlinux.org
Tue Aug 6 03:45:28 UTC 2019


    Date: Tuesday, August 6, 2019 @ 03:45:27
  Author: foutrelis
Revision: 497553

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: getdns/repos/community-staging-x86_64/PKGBUILD (from rev 497552, getdns/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-08-06 03:45:27 UTC (rev 497553)
@@ -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=2
+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