diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 72 |
2 files changed, 49 insertions, 37 deletions
@@ -1,16 +1,14 @@ pkgbase = perl-netpacket pkgdesc = assemble/disassemble network packets at the protocol level - pkgver = 1.6.0 + pkgver = 1.7.2 pkgrel = 1 url = https://metacpan.org/release/NetPacket arch = any - license = GPL - license = PerlArtistic - depends = perl + license = Artistic2.0 + depends = perl>=5.10.0 options = !emptydirs - options = purge - source = http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-1.6.0.tar.gz - md5sums = 17ba0407dada096f046f513387e88818 + source = http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-1.7.2.tar.gz + md5sums = 6821d0c7a553308cdcd868737055bb3d + sha512sums = 94fb9b99f8d5443cce76c943ab562b44ee07448b0fbdd86bea35e0dc1aeabbce3871d7115f68c8ca013ad71390c51f2d5233a8f4ad71d796920c3f286cecf4c5 pkgname = perl-netpacket - @@ -1,35 +1,49 @@ -# Contributor: Eduardo Reveles <me at osiux dot ws> +# Contributor: CpanBot <cpanbot at sch bme hu> +# Generator : CPANPLUS::Dist::Arch 1.32 -pkgname=perl-netpacket -pkgver=1.6.0 -pkgrel=1 +pkgname='perl-netpacket' +pkgver='1.7.2' +pkgrel='1' pkgdesc="assemble/disassemble network packets at the protocol level" -_dist=NetPacket arch=('any') -url="https://metacpan.org/release/$_dist" -license=('GPL' 'PerlArtistic') -depends=(perl) -options=('!emptydirs' purge) -source=("http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_dist-$pkgver.tar.gz") -md5sums=('17ba0407dada096f046f513387e88818') +license=('Artistic2.0') +options=('!emptydirs') +depends=('perl>=5.10.0') +makedepends=() +url='https://metacpan.org/release/NetPacket' +source=('http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-1.7.2.tar.gz') +md5sums=('6821d0c7a553308cdcd868737055bb3d') +sha512sums=('94fb9b99f8d5443cce76c943ab562b44ee07448b0fbdd86bea35e0dc1aeabbce3871d7115f68c8ca013ad71390c51f2d5233a8f4ad71d796920c3f286cecf4c5') +_distdir="NetPacket-1.7.2" -build() ( - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - /usr/bin/perl Makefile.PL - make -) +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null -check() ( - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - export PERL_MM_USE_DEFAULT=1 - make test -) + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} -package() ( - cd "$srcdir/$_dist-$pkgver" - unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT - make install INSTALLDIRS=vendor DESTDIR="$pkgdir" -)
\ No newline at end of file +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |