diff options
author | Brian Bidulock | 2015-07-16 03:04:20 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-16 03:04:20 -0600 |
commit | bf7076b4191ccd8621b6cf45dfd6e2ca84621f8b (patch) | |
tree | 3221ec0420174d1017d4123671d048e6860c20fb /PKGBUILD | |
download | aur-bf7076b4191ccd8621b6cf45dfd6e2ca84621f8b.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bb3ad594caa9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Alexander Krylov <kass@tpi.ru> +# Contributor: Brian Bidulock <bidulock@openss7.org> + +pkgname=perl-net-netmask +_cpanname=Net-Netmask +_module=Net::Netmask +pkgver=1.9019 +pkgrel=1 +pkgdesc="Parse, manipulate and lookup IP network blocks." +arch=('any') +url="https://metacpan.org/release/$_cpanname" +license=('GPL' 'PerlArtistic') +depends=() +options=('!emptydirs') +source=("http://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/${_cpanname}-${pkgver}.tar.gz") +md5sums=('406995de27f55980f50f0bfbeb3c2d27') + +build() { + cd "$srcdir/$_cpanname-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/$_cpanname-$pkgver" + make test +} + +package() { + cd "$srcdir/$_cpanname-$pkgver" + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: |