archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-net-ipv6addr / trunk / PKGBUILD
blobef49745b5aecedde4328793e3692fde66e32298d
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-net-ipv6addr
5 pkgver=1.02
6 pkgrel=1
7 pkgdesc="Perl/CPAN Module Net::IPv6Addr"
8 arch=("any")
9 url="https://search.cpan.org/dist/Net-IPv6Addr"
10 license=("GPL" "PerlArtistic")
11 source=("https://www.cpan.org/authors/id/B/BK/BKB/Net-IPv6Addr-$pkgver.tar.gz")
12 sha256sums=('b23401c1226fee8dfe627f5ae0e90c55ac547010eca398110dc1631f41c9ec7d')
14 build() {
15   cd "$srcdir"/Net-IPv6Addr-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/Net-IPv6Addr-$pkgver
22   make install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete