diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/perl-iptables-parse/PKGBUILD | 12 |
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 } |