summaryrefslogtreecommitdiff
path: root/community/iptstate/PKGBUILD
blob: f0fbb6abe8efdd9c76e9ff0537307dbe0cb778f8 (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$
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>

pkgname=iptstate
pkgver=2.2.3
pkgrel=1
pkgdesc='top-like interface to netfilter connection-tracking table'
arch=('i686' 'x86_64')
url='http://www.phildev.net/iptstate/'
license=('custom')
depends=('ncurses' 'libnetfilter_conntrack')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('5238a0c4c4f764a919aba678051698ec')

build() {
  cd $pkgname-$pkgver
  make
}

package() {
  cd $pkgname-$pkgver
  install -D -m755 $pkgname "$pkgdir/usr/sbin/$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 ft=sh et: