summaryrefslogtreecommitdiff
path: root/community/darkstat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/darkstat/PKGBUILD')
-rw-r--r--community/darkstat/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/darkstat/PKGBUILD b/community/darkstat/PKGBUILD
index 17576f9f3..a1fc00314 100644
--- a/community/darkstat/PKGBUILD
+++ b/community/darkstat/PKGBUILD
@@ -1,20 +1,22 @@
-# $Id: PKGBUILD 69208 2012-04-10 03:44:54Z spupykin $
+# $Id: PKGBUILD 78362 2012-10-17 15:24:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=darkstat
pkgver=3.0.715
-pkgrel=2
-pkgdesc="Network statistics gatherer (packet sniffer)."
+pkgrel=3
+pkgdesc="Network statistics gatherer (packet sniffer)"
url="http://dmr.ath.cx/net/darkstat/"
license=("GPL")
arch=(i686 x86_64 'mips64el')
depends=('libpcap' 'zlib' 'gcc-libs')
source=(http://dmr.ath.cx/net/darkstat/darkstat-$pkgver.tar.bz2
darkstat
+ darkstat.service
darkstat.conf)
install=darkstat.install
md5sums=('5b7abc7538dcd8e30667dac150e81d77'
'1021f95fabe16cfab4c95f6264d535e5'
+ 'd22a09fa1f66b2b1afb8521ceea693d6'
'aa9a9effd1e8f08860afcd6439fc94c5')
build() {
@@ -30,4 +32,5 @@ package() {
# darkstat script
install -D -m755 "$srcdir"/darkstat "$pkgdir"/etc/rc.d/darkstat
install -D -m644 "$srcdir"/darkstat.conf "$pkgdir"/etc/conf.d/darkstat.conf
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}