PKGBUILDs/community/perl-net-subnets/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
782 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-net-subnets
pkgver=0.21
pkgrel=3
pkgdesc="Perl/CPAN Module Net::Subnets : Computing subnets in large scale networks"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Net-Subnets"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/S/SR/SRI/Net-Subnets-0.21.tar.gz")
md5sums=('34f945ee4f89be35065c6ec6f2e01255')
build() {
cd $startdir/src/Net-Subnets-0.21
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
}