summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 06:54:37 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 07:48:22 -0300
commit56ea24a9e517f6e018abf55f03a7044fd295a694 (patch)
tree189a5f6ec93ed7c3a5d3f7266048aba13ae395d7
parentc2fd3c4110d4f4fa4170cc8f0bf80b7307b6fbac (diff)
downloadabslibre-56ea24a9e517f6e018abf55f03a7044fd295a694.tar.gz
abslibre-56ea24a9e517f6e018abf55f03a7044fd295a694.tar.bz2
abslibre-56ea24a9e517f6e018abf55f03a7044fd295a694.zip
perl-iptables-parse: fix syntax
-rw-r--r--pcr/perl-iptables-parse/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/pcr/perl-iptables-parse/PKGBUILD b/pcr/perl-iptables-parse/PKGBUILD
index 5f91b2549..b731abca9 100644
--- a/pcr/perl-iptables-parse/PKGBUILD
+++ b/pcr/perl-iptables-parse/PKGBUILD
@@ -14,10 +14,14 @@ options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/IPTables-Parse-$pkgver.tar.gz)
build() {
- cd $startdir/src/IPTables-Parse-$pkgver
+ cd $srcdir/IPTables-Parse-$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-Parse-$pkgver
+ make install DESTDIR=$pkgdir || return 1
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
}