[arch-commits] Commit in whois/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jan 13 21:13:21 UTC 2019
Date: Sunday, January 13, 2019 @ 21:13:20
Author: foutrelis
Revision: 344012
archrelease: copy trunk to staging-x86_64
Added:
whois/repos/staging-x86_64/
whois/repos/staging-x86_64/PKGBUILD
(from rev 344011, whois/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: whois/repos/staging-x86_64/PKGBUILD (from rev 344011, whois/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-01-13 21:13:20 UTC (rev 344012)
@@ -0,0 +1,33 @@
+# Maintainer: 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.4.0
+pkgrel=2
+pkgdesc='Intelligent WHOIS client'
+url='https://github.com/rfc1036/whois'
+license=('GPL')
+arch=('x86_64')
+depends=('libidn2')
+makedepends=('perl')
+source=("http://ftp.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.xz")
+sha256sums=('3775ae0cfaa6dd8d886e5233c4826225cddcb88c99c2a08130d14e15fe58e378')
+
+backup=('etc/whois.conf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make \
+ CONFIG_FILE=/etc/whois.conf \
+ CFLAGS="$CFLAGS $CPPFLAGS" \
+ HAVE_ICONV=1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix=/usr BASEDIR="${pkgdir}" install-whois
+ install -D -m644 whois.conf "${pkgdir}/etc/whois.conf"
+}
More information about the arch-commits
mailing list