summaryrefslogtreecommitdiff
path: root/community/vnstat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
committerroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
commit0520c5091743d9910278e53fa32470b096825fb3 (patch)
treece32603cb0eb8456aef2a5eb66fddc98f246857c /community/vnstat
parente0c1bfae73539aac5627d73dd70a299d274a0c10 (diff)
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'community/vnstat')
-rw-r--r--community/vnstat/PKGBUILD12
-rw-r--r--community/vnstat/service2
2 files changed, 7 insertions, 7 deletions
diff --git a/community/vnstat/PKGBUILD b/community/vnstat/PKGBUILD
index 1efe1b8ca..29d424a9e 100644
--- a/community/vnstat/PKGBUILD
+++ b/community/vnstat/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90737 2013-05-13 14:41:25Z spupykin $
+# $Id: PKGBUILD 91534 2013-05-23 11:17:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
pkgname=vnstat
pkgver=1.11
-pkgrel=4
+pkgrel=5
pkgdesc="A console-based network traffic monitor"
arch=('i686' 'x86_64')
url="http://humdi.net/vnstat/"
@@ -17,16 +17,16 @@ backup=(etc/vnstat.conf)
source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
service)
md5sums=('a5a113f9176cd61fb954f2ba297f5fdb'
- 'fcc189e3dee616ff414dac72637c1a19')
+ 'df452896729db4a569005f1ebf6b57f4')
build() {
cd $srcdir/$pkgname-$pkgver
- make all
+ make all SBIN=/usr/bin
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install SBIN=$pkgdir/usr/bin
install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/vnstat.service
diff --git a/community/vnstat/service b/community/vnstat/service
index f312351ea..5c593eb1b 100644
--- a/community/vnstat/service
+++ b/community/vnstat/service
@@ -2,7 +2,7 @@
Description=Network traffic monitor
[Service]
-ExecStart=/usr/sbin/vnstatd -n
+ExecStart=/usr/bin/vnstatd -n
ExecReload=/bin/kill -HUP $MAINPID
[Install]