113.0-1
[arch-packages.git] / perl-netaddr-ip / repos / extra-x86_64 / PKGBUILD
blob798684bc6e3e47456848f57ed71350691f985a16
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-netaddr-ip
4 pkgver=4.079
5 pkgrel=13
6 pkgdesc="Perl module to manage IP addresses and subnets"
7 arch=('x86_64')
8 url="https://search.cpan.org/dist/NetAddr-IP/"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-${pkgver}.tar.gz)
13 sha256sums=('ec5a82dfb7028bcd28bb3d569f95d87dd4166cc19867f2184ed3a59f6d6ca0e7')
15 build() {
16   cd NetAddr-IP-${pkgver}
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd NetAddr-IP-${pkgver}
23   make test
26 package() {
27   cd NetAddr-IP-${pkgver}
28   make DESTDIR="${pkgdir}" install