summaryrefslogtreecommitdiff
path: root/extra/whois/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/whois/PKGBUILD')
-rw-r--r--extra/whois/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/whois/PKGBUILD b/extra/whois/PKGBUILD
new file mode 100644
index 000000000..99e4b2a91
--- /dev/null
+++ b/extra/whois/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 108896 2011-02-04 18:32:02Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=whois
+pkgver=5.0.11
+pkgrel=1
+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')
+source=("http://ftp.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.gz")
+md5sums=('942e2d90b0bcd7d22765c8e3344fe118')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix=/usr BASEDIR="${pkgdir}" install-whois
+}