diff options
author | Anthony Cozamanis | 2015-11-03 09:54:57 +0800 |
---|---|---|
committer | Anthony Cozamanis | 2015-11-03 09:54:57 +0800 |
commit | b2d6a065455350e0a1f294ca20ee6b47e5dd6da6 (patch) | |
tree | 6d5ce6c6168369c4b01515d44f4c6cf3cc5bc89e /PKGBUILD | |
download | aur-b2d6a065455350e0a1f294ca20ee6b47e5dd6da6.tar.gz |
Version update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..924440157918 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Anthony C <kurodroid.1@gmail.com> + +pkgname=perl-iptables-chainmgr +_pkgname=IPTables-ChainMgr +pkgver=1.4 +pkgrel=0 +pkgdesc="IPTables::ChainMgr - Perl extension for manipulating iptables and ip6tables policies" +arch=('any') +url="http://search.cpan.org/~mrash/IPTables-ChainMgr/" +license=('GPL' 'PerlArtistic') +depends=('perl' 'iptables' 'perl-iptables-parse' 'perl-netaddr-ip') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/$_pkgname-$pkgver.tar.gz) +md5sums=('f322a583ef49c82c0807237542ed5f35') + +build() { + cd $_pkgname-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd $_pkgname-$pkgver + make test +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + |