summaryrefslogtreecommitdiff
path: root/community/nfacct/PKGBUILD
blob: 5cdc8703864268799a7a1fe20015b0cb9d8b0ac7 (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
28
29
30
31
32
# $Id: PKGBUILD 99928 2013-10-31 02:31:30Z allan $
# Maintainer: Sébastien Luttringer
# Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>

pkgname=nfacct
pkgver=1.0.1
pkgrel=2
pkgdesc='Command line tool to create/retrieve/delete accounting objects'
arch=('i686' 'x86_64')
url='http://www.netfilter.org/projects/nfacct/'
license=('GPL2')
depends=('libnetfilter_acct')
source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2")
md5sums=('992e863409d144350dbc8f0554a0f478')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sbindir=/usr/bin
  make
}

check() {
  cd $pkgname-$pkgver
  make -k check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: