Date: Sunday, January 13, 2019 @ 21:05:52 Author: foutrelis Revision: 422981
archrelease: copy trunk to community-staging-x86_64 Added: getdns/repos/community-staging-x86_64/ getdns/repos/community-staging-x86_64/PKGBUILD (from rev 422980, getdns/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: getdns/repos/community-staging-x86_64/PKGBUILD (from rev 422980, getdns/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-01-13 21:05:52 UTC (rev 422981) @@ -0,0 +1,35 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Remi Gacogne <rgaco...@archlinux.org> + +pkgname=getdns +pkgver=1.5.1 +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=('5686e61100599c309ce03535f9899a5a3d94a82cc08d10718e2cd73ad3dc28af' 'SKIP') +validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop <wil...@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 + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}