summaryrefslogtreecommitdiff
path: root/community/iptstate/PKGBUILD
blob: 117243f2cc597580454f5751519db0a14aab9732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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' 'mips64el')
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: