1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: Dale Blount <dale@archlinux.org>
4 pkgname=perl-net-cidr-lite
5 _realname=Net-CIDR-Lite
8 pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses"
10 license=('PerlArtistic')
11 url="https://search.cpan.org/dist/${_realname}/"
12 depends=('perl>=5.10.0')
14 source=(https://search.cpan.org/CPAN/authors/id/S/ST/STIGTSP/${_realname}-${pkgver}.tar.gz)
15 sha512sums=('5d89c0b6d950e5cb4c7eb9639829d76a67373865f5582f61d3e384636b176ac08335a9210d05a53c54105fecfb8ec98ae115cba3d181aed3032370d50f3aec9f')
18 cd ${_realname}-${pkgver}
19 # install module in vendor directories.
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25 cd ${_realname}-${pkgver}
26 make install DESTDIR="${pkgdir}"