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

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 22 12:17:45 UTC 2020


    Date: Tuesday, September 22, 2020 @ 12:17:45
  Author: foutrelis
Revision: 396420

upgpkg: whois 5.5.6-3: adopt; use signed git tag (FS#67962)

Modified:
  whois/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-22 07:56:49 UTC (rev 396419)
+++ PKGBUILD	2020-09-22 12:17:45 UTC (rev 396420)
@@ -1,33 +1,34 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=whois
 pkgver=5.5.6
-pkgrel=2
-pkgdesc='Intelligent WHOIS client'
-url='https://github.com/rfc1036/whois'
+pkgrel=3
+pkgdesc="Intelligent WHOIS client"
+arch=('x86_64')
+url="https://github.com/rfc1036/whois"
 license=('GPL')
-arch=('x86_64')
 depends=('libidn2')
-makedepends=('perl')
-source=("https://deb.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.xz")
-sha256sums=('cba1e9000c60950f46a96ba23e8eea8aee240a2b8560e63a6bfb33f9034af14e')
-
+makedepends=('perl' 'git')
 backup=('etc/whois.conf')
+source=(git+https://github.com/rfc1036/whois.git#tag=v$pkgver?signed)
+sha256sums=('SKIP')
+validpgpkeys=('6791403B68AE2690517C42EAE6FFF1E38DC968B0') # Marco d'Itri <md at linux.it>
 
 build() {
-	cd "${srcdir}/${pkgname}"
-
-	make \
-		CONFIG_FILE=/etc/whois.conf \
-		CFLAGS="$CFLAGS $CPPFLAGS" \
-		HAVE_ICONV=1
+  cd "$srcdir/$pkgname"
+  make \
+    CONFIG_FILE=/etc/whois.conf \
+    CFLAGS="$CFLAGS $CPPFLAGS" \
+    HAVE_ICONV=1
 }
 
 package() {
-	cd "${srcdir}/${pkgname}"
+  cd "$srcdir/$pkgname"
+  make prefix=/usr BASEDIR="$pkgdir" install-whois
+  install -Dm644 whois.conf -t "$pkgdir/etc"
+}
 
-	make prefix=/usr BASEDIR="${pkgdir}" install-whois
-	install -D -m644 whois.conf "${pkgdir}/etc/whois.conf"
-}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list