summaryrefslogtreecommitdiff
path: root/pcr/perl-iptables-chainmgr
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 06:48:37 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 07:48:22 -0300
commit228d59eafb93ec5cfbd356525c19810bbcad54a6 (patch)
tree91c751e7a9965e4852e8a63a05adade078f1fc00 /pcr/perl-iptables-chainmgr
parent03fbf7ed3d7a12bbc4f183b6e9cd743293bc5545 (diff)
downloadabslibre-228d59eafb93ec5cfbd356525c19810bbcad54a6.tar.gz
abslibre-228d59eafb93ec5cfbd356525c19810bbcad54a6.tar.bz2
abslibre-228d59eafb93ec5cfbd356525c19810bbcad54a6.zip
perl-iptables-chainmgr: fix syntax and checksums
Diffstat (limited to 'pcr/perl-iptables-chainmgr')
-rw-r--r--pcr/perl-iptables-chainmgr/PKGBUILD13
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
}