Date: Sunday, February 10, 2019 @ 02:56:10
  Author: foutrelis
Revision: 345810

archrelease: copy trunk to staging-x86_64

Added:
  whois/repos/staging-x86_64/
  whois/repos/staging-x86_64/PKGBUILD
    (from rev 345809, whois/trunk/PKGBUILD)

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

Copied: whois/repos/staging-x86_64/PKGBUILD (from rev 345809, 
whois/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2019-02-10 02:56:10 UTC (rev 345810)
@@ -0,0 +1,33 @@
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Giovanni Scafora <giova...@archlinux.org>
+# Contributor: Tom Newsom <jeeps...@gmx.co.uk>
+
+pkgname=whois
+pkgver=5.4.0
+pkgrel=3
+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"
+}

Reply via email to