From 228d59eafb93ec5cfbd356525c19810bbcad54a6 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 1 May 2015 06:48:37 -0300 Subject: perl-iptables-chainmgr: fix syntax and checksums --- pcr/perl-iptables-chainmgr/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pcr/perl-iptables-chainmgr/PKGBUILD') diff --git a/pcr/perl-iptables-chainmgr/PKGBUILD b/pcr/perl-iptables-chainmgr/PKGBUILD index f42245119..bde929ce4 100644 --- a/pcr/perl-iptables-chainmgr/PKGBUILD +++ b/pcr/perl-iptables-chainmgr/PKGBUILD @@ -12,12 +12,17 @@ license=('Artistic2.0') depends=('perl' 'iptables' 'perl-iptables-parse>=0.9' 'perl-netaddr-ip>=4.0') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/IPTables-ChainMgr-$pkgver.tar.gz) +md5sums=(f5ff3a84503707782e38362bdc7b8b67) build() { - cd $startdir/src/IPTables-ChainMgr-$pkgver + cd $srcdir/IPTables-ChainMgr-$pkgver 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 +} + +package() { + cd $srcdir/IPTables-ChainMgr-$pkgver + make install DESTDIR=$pkgdir || return 1 + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } -- cgit v1.2.3-54-g00ecf