updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / fpdns / PKGBUILD
blob965d5e6c41746e4d216160ab82a9af7da18532dc
1 # Contributor: Ermak <ermak@email.it>
2 pkgname=fpdns
3 pkgver=0.9.3
4 pkgrel=1
5 pkgdesc="Program that remotely determines DNS server versions"
6 url="http://code.google.com/p/fpdns/"
7 depends=('')
8 license=('BSD')
9 options=('!emptydirs')
10 arch=('i686' 'x86_64')
11 source=('http://fpdns.googlecode.com/files/Net-DNS-Fingerprint-0.9.3.tar.gz') 
12 md5sums=('16f1fbc9e5c8b935a0a48a509dc58899')
14 build() {
15   cd  ${srcdir}/Net-DNS-Fingerprint-0.9.3
16   eval `perl -V:archname`
17   /usr/bin/perl Makefile.PL \
18       INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
19       INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
20       INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
21   /usr/bin/make || return 1
22   /usr/bin/make DESTDIR=${pkgdir} install
23   /usr/bin/find ${pkgdir} -name '.packlist' -delete
24   /usr/bin/find ${pkgdir} -name '*.pod' -delete