diff options
-rw-r--r-- | pcr/perl-iptables-chainmgr/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
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 } |