summaryrefslogtreecommitdiff
path: root/pcr/fpdns/PKGBUILD
blob: fb39b633cd29e698707aac821c02b688fa4d8eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor (Arch): Ermak <ermak@email.it>
# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io>

pkgname=fpdns
pkgver=0.9.3
pkgrel=1.1
pkgdesc="Program that remotely determines DNS server versions"
url="http://code.google.com/p/fpdns/"
depends=('')
license=('BSD3')
options=('!emptydirs')
arch=('i686' 'x86_64' 'mips64el')
source=('http://fpdns.googlecode.com/files/Net-DNS-Fingerprint-0.9.3.tar.gz') 
md5sums=('16f1fbc9e5c8b935a0a48a509dc58899')

build() {
  cd  ${srcdir}/Net-DNS-Fingerprint-0.9.3
  eval `perl -V:archname`
  perl Makefile.PL \
      INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
      INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
      INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
  make
}

package() {
  cd  ${srcdir}/Net-DNS-Fingerprint-0.9.3
  make DESTDIR=${pkgdir} install
  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}