OCaml 4.14.0 rebuild
[arch-packages.git] / perl-net-cidr-lite / trunk / PKGBUILD
blobdac28b37604e331553de2b5e0037d85daed81266
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
6 pkgver=0.22
7 pkgrel=3
8 pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses"
9 arch=('any')
10 license=('PerlArtistic')
11 url="https://search.cpan.org/dist/${_realname}/"
12 depends=('perl>=5.10.0')
13 options=(!emptydirs)
14 source=(https://search.cpan.org/CPAN/authors/id/S/ST/STIGTSP/${_realname}-${pkgver}.tar.gz)
15 sha512sums=('5d89c0b6d950e5cb4c7eb9639829d76a67373865f5582f61d3e384636b176ac08335a9210d05a53c54105fecfb8ec98ae115cba3d181aed3032370d50f3aec9f')
17 build() {
18   cd ${_realname}-${pkgver}
19   # install module in vendor directories.
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 package() {
25   cd ${_realname}-${pkgver}
26   make install DESTDIR="${pkgdir}"