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

Antonio Rojas arojas at archlinux.org
Thu Mar 11 08:11:15 UTC 2021


    Date: Thursday, March 11, 2021 @ 08:11:14
  Author: arojas
Revision: 887427

Update to 1.10

Modified:
  dnstracer/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-11 07:43:34 UTC (rev 887426)
+++ PKGBUILD	2021-03-11 08:11:14 UTC (rev 887427)
@@ -1,23 +1,24 @@
 # Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=dnstracer
-pkgver=1.9
-pkgrel=7
+pkgver=1.10
+pkgrel=1
 pkgdesc='Determines where a given DNS server gets its information from, and follows the chain of DNS servers'
 url='https://www.mavetju.org/unix/dnstracer.php'
 license=('custom:BSD')
 arch=('x86_64')
-source=("https://www.mavetju.org/download/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('2ebc08af9693ba2d9fa0628416f2d8319ca1627e41d64553875d605b352afe9c')
+depends=('glibc')
+source=("https://www.mavetju.org/download/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('64cda0ed15ef598a38ec72a96a356e3d10b7f822fc75928115eae96a65ae2b21')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr --mandir=/usr/share/man
-	make
+  cd ${pkgname}
+  make PREFIX=/usr CC="gcc ${CFLAGS} ${LDFLAGS}"
 }
 
 package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/dnstracer/LICENSE
+  cd ${pkgname}
+  mkdir -p "$pkgdir"/usr/{bin,share/man/man8}
+  make PREFIX="$pkgdir"/usr MANPREFIX="$pkgdir"/usr/share/man/man8 install
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/dnstracer/LICENSE
 }



More information about the arch-commits mailing list