summaryrefslogtreecommitdiff
path: root/extra/whois
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/whois
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/whois')
-rw-r--r--extra/whois/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/whois/PKGBUILD b/extra/whois/PKGBUILD
index 36a012bcd..419e915bc 100644
--- a/extra/whois/PKGBUILD
+++ b/extra/whois/PKGBUILD
@@ -1,27 +1,33 @@
-# $Id: PKGBUILD 191778 2013-07-30 17:02:46Z giovanni $
+# $Id: PKGBUILD 199908 2013-11-18 18:15:18Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=whois
pkgver=5.0.26
-pkgrel=1
+pkgrel=2
pkgdesc="The whois client by Marco d'Itri"
arch=('i686' 'x86_64')
url="http://www.linux.it/~md/software/"
license=('GPL')
depends=('libidn')
makedepends=('perl')
+backup=('etc/whois.conf')
source=("http://ftp.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.xz")
md5sums=('236829eea77e85df2443a54815a1b41d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1 HAVE_ICONV=1
+ make prefix=/usr \
+ CFLAGS="$CFLAGS $CPPFLAGS" \
+ CONFIG_FILE=/etc/whois.conf \
+ HAVE_LIBIDN=1 \
+ HAVE_ICONV=1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make prefix=/usr BASEDIR="${pkgdir}" install-whois
+ install -D -m644 whois.conf "${pkgdir}/etc/whois.conf"
}