[arch-commits] Commit in ldns/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 11 18:15:27 UTC 2021


    Date: Saturday, December 11, 2021 @ 18:15:27
  Author: felixonmars
Revision: 431885

archrelease: copy trunk to staging-x86_64

Added:
  ldns/repos/staging-x86_64/
  ldns/repos/staging-x86_64/PKGBUILD
    (from rev 431884, ldns/trunk/PKGBUILD)

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

Copied: ldns/repos/staging-x86_64/PKGBUILD (from rev 431884, ldns/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-12-11 18:15:27 UTC (rev 431885)
@@ -0,0 +1,36 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: mathieui <mathieui at mathieui.net>
+# Contributor: jiribb <jiribb at gmail.com>
+
+pkgname=ldns
+pkgver=1.8.1
+pkgrel=1
+pkgdesc='Fast DNS library supporting recent RFCs'
+url='https://www.nlnetlabs.nl/projects/ldns/'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('openssl' 'dnssec-anchors')
+optdepends=('libpcap: ldns-dpa tool')
+makedepends=('libpcap')
+source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--disable-rpath \
+		--with-drill \
+		--with-examples \
+		--with-trust-anchor=/etc/trusted-key.key \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list