summaryrefslogtreecommitdiff
path: root/community/iptstate/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/iptstate/PKGBUILD')
-rw-r--r--community/iptstate/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/iptstate/PKGBUILD b/community/iptstate/PKGBUILD
new file mode 100644
index 000000000..458bc3ad1
--- /dev/null
+++ b/community/iptstate/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 90516 2013-05-12 23:47:26Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Andrea Zucchelli <zukka77@gmail.com>
+
+pkgname=iptstate
+pkgver=2.2.5
+pkgrel=2
+pkgdesc='top-like interface to netfilter connection-tracking table'
+arch=('i686' 'x86_64')
+url='http://www.phildev.net/iptstate/'
+license=('custom')
+depends=('gcc-libs' 'ncurses' 'libnetfilter_conntrack')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('5abe47e473bee256adaf8a48b1141a90')
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -D -m644 $pkgname.8 "$pkgdir/usr/share/man/man8/$pkgname.8"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+# vim:set ts=2 sw=2 et: