updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / perl-net-dhcp / PKGBUILD
blob8ca55d733871db359d1f8a5c434f272b98e6f30c
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-net-dhcp'
4 pkgver='0.67'
5 pkgrel='1'
6 pkgdesc=""
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Net-DHCP'
12 source=('http://search.cpan.org/CPAN/authors/id/D/DJ/DJZORT/Net-DHCP-0.67.tar.gz')
13 md5sums=('5adce52c7e8b19a5279c795ca36ef88e')
15 build() {
16   _DISTDIR="${srcdir}/Net-DHCP-0.67"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -delete
26   find "$pkgdir" -name perllocal.pod -delete