updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / perl-net-ip-xs / PKGBUILD
blob01dd10549fa2d71ab705ce977b1b3881699af0ca
1 # Maintainer: Cedric Girard <girard.cedric@gmail.com>
2 _author=TOMHRR
3 _perlmod=Net-IP-XS
4 pkgname=perl-net-ip-xs
5 pkgver=0.07
6 pkgrel=1
7 pkgdesc="XS implementation of Net::IP"
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0' 'gmp' 'perl-tie-hash-sorted' 'perl-tie-simple' 'perl-math-bigint' 'perl-ip-country')
12 options=(!emptydirs)
13 source=(http://cpan.perl.org/modules/by-authors/id/T/TO/$_author/$_perlmod-$pkgver.tar.gz)
14 md5sums=('cfcbc1fd40e18de64a0c05df5ea37cc4')
16 build() {
17   cd "$srcdir/$_perlmod-$pkgver"
19   # Install module in vendor directories.
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
25 package() {
26   cd "$srcdir/$_perlmod-$pkgver"
27   make install DESTDIR="$pkgdir/"
31 # vim:set ts=2 sw=2 et: