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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:56:25 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:56:24
  Author: felixonmars
Revision: 659039

archrelease: copy trunk to community-staging-x86_64

Added:
  udns/repos/community-staging-x86_64/
  udns/repos/community-staging-x86_64/PKGBUILD
    (from rev 659038, udns/trunk/PKGBUILD)

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

Copied: udns/repos/community-staging-x86_64/PKGBUILD (from rev 659038, udns/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:56:24 UTC (rev 659039)
@@ -0,0 +1,43 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=udns
+pkgver=0.4
+pkgrel=5
+pkgdesc='Stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries'
+url='http://www.corpit.ru/mjt/udns.html'
+license=('LGPL')
+arch=('x86_64')
+source=("http://www.corpit.ru/mjt/udns/udns-${pkgver}.tar.gz")
+sha256sums=('115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	sed -i 's/LDLAGS/LDFLAGS/' Makefile.in
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	./configure
+	make
+	make sharedlib
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	install -D -m0755 dnsget "${pkgdir}/usr/bin/dnsget"
+	install -D -m0755 rblcheck "${pkgdir}/usr/bin/rblcheck"
+	install -D -m0755 ex-rdns "${pkgdir}/usr/bin/ex-rdns"
+
+	install -D -m0644 udns.h "${pkgdir}/usr/include/udns.h"
+	install -D -m0755 libudns.so.0 "${pkgdir}/usr/lib/libudns.so.0"
+	ln -s libudns.so.0 "${pkgdir}/usr/lib/libudns.so"
+
+	install -D -m0644 dnsget.1 "${pkgdir}/usr/share/man/man1/dnsget.1"
+	install -D -m0644 rblcheck.1 "${pkgdir}/usr/share/man/man1/rblcheck.1"
+	install -D -m0644 udns.3 "${pkgdir}/usr/share/man/man3/udns.3"
+}
+


More information about the arch-commits mailing list