PKGBUILDs/community/perl-net-ipv4addr/PKGBUILD

22 lines
722 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-net-ipv4addr
pkgver=0.10
pkgrel=4
pkgdesc="Perl/CPAN Module Net::IPv4Addr"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Net-IPv4Addr"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-0.10.tar.gz")
md5sums=('57aa8e28ebcd4c0c9f15792740e53d3c')
build() {
cd $startdir/src/Net-IPv4Addr-0.10
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}