[arch-commits] Commit in getdns/repos (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Tue Jul 20 11:59:42 UTC 2021
Date: Tuesday, July 20, 2021 @ 11:59:42
Author: archange
Revision: 979860
archrelease: copy trunk to community-testing-x86_64
Added:
getdns/repos/community-testing-x86_64/
getdns/repos/community-testing-x86_64/PKGBUILD
(from rev 979859, getdns/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: getdns/repos/community-testing-x86_64/PKGBUILD (from rev 979859, getdns/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-07-20 11:59:42 UTC (rev 979860)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Remi Gacogne <rgacogne at archlinux.org>
+
+pkgname=getdns
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Modern asynchronous DNS API"
+arch=(x86_64)
+url="https://getdnsapi.net"
+license=(BSD)
+depends=(libbsd libev libevent libidn2 libuv libyaml unbound check)
+makedepends=(cmake)
+source=("${url}/dist/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=(ea8713ce5e077ac76b1418ceb6afd25e6d4e39e9600f6f5e81d3a3a13a60f652 SKIP)
+validpgpkeys=(DC34EE5DB2417BCC151E5100E5F8F8212F77A498) # Willem Toorop <willem at nlnetlabs.nl>
+
+build() {
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_STATIC=OFF \
+ -DCURRENT_DATE=$(date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y-%m-%dT%H:%M:%SZ") \
+ -DPATH_TRUST_ANCHOR_FILE=/etc/trusted-key.key
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 ${pkgname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list