[arch-commits] Commit in (getdns getdns/repos getdns/trunk getdns/trunk/PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Oct 29 18:11:23 UTC 2017


    Date: Sunday, October 29, 2017 @ 18:11:19
  Author: archange
Revision: 264673

Initial import of getdns from the AUR

Don't build stubby (to be provided in a separate package).
Use trust-key from dnssec-anchors package.

Added:
  getdns/
  getdns/repos/
  getdns/trunk/
  getdns/trunk/PKGBUILD

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

Added: getdns/trunk/PKGBUILD
===================================================================
--- getdns/trunk/PKGBUILD	                        (rev 0)
+++ getdns/trunk/PKGBUILD	2017-10-29 18:11:19 UTC (rev 264673)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Remi Gacogne <rgacogne at archlinux.org>
+
+pkgname=getdns
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A modern asynchronous DNS API"
+arch=('i686' 'x86_64')
+url="http://getdnsapi.net"
+license=('BSD')
+depends=('libbsd' 'libev' 'libevent' 'libidn' 'libuv' 'libyaml' 'unbound')
+source=("${url}/dist/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('06e6494b5d8b9404f439d5a98a3ab8f1f4b3557fb7aa3db005b021a6289b4229' '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
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+    install -d "${pkgdir}"/etc/unbound/
+    ln -sf /etc/trusted-key.key "${pkgdir}"/etc/unbound/getdns-root.key
+}



More information about the arch-commits mailing list