# Contributor: Weirch Sodora # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=perl-iptables-parse pkgver=1.1 pkgrel=1 pkgdesc="IPTables::Parse - Perl extension for parsing iptables and ip6tables firewall rulesets" arch=('i686' 'x86_64') url="http://search.cpan.org/~mrash/IPTables-Parse/" license=('GPL' 'PerlArtistic') depends=('perl' 'iptables') 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 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 }