[arch-commits] Commit in whois/trunk (PKGBUILD)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Mon Nov 18 18:15:11 UTC 2013
Date: Monday, November 18, 2013 @ 19:15:10
Author: giovanni
Revision: 199907
upgpkg: whois 5.0.26-2
Fixed FS37805
Modified:
whois/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-18 17:59:42 UTC (rev 199906)
+++ PKGBUILD 2013-11-18 18:15:10 UTC (rev 199907)
@@ -4,7 +4,7 @@
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/"
@@ -11,6 +11,7 @@
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')
@@ -17,7 +18,11 @@
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() {
@@ -24,4 +29,5 @@
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