summaryrefslogtreecommitdiff
path: root/extra/nfacct/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nfacct/PKGBUILD')
-rw-r--r--extra/nfacct/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/nfacct/PKGBUILD b/extra/nfacct/PKGBUILD
new file mode 100644
index 000000000..c3ffa2aff
--- /dev/null
+++ b/extra/nfacct/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 217771 2014-07-23 22:42:09Z seblu $
+# 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: