summaryrefslogtreecommitdiff
path: root/community/vnstat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vnstat/PKGBUILD')
-rw-r--r--community/vnstat/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/vnstat/PKGBUILD b/community/vnstat/PKGBUILD
index c50e19e51..2fd7788ae 100644
--- a/community/vnstat/PKGBUILD
+++ b/community/vnstat/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 20111 2010-07-02 14:00:19Z tdziedzic $
+# $Id: PKGBUILD 48601 2011-06-03 09:15:53Z ttopper $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
pkgname=vnstat
-pkgver=1.10
-pkgrel=5
+pkgver=1.11
+pkgrel=1
pkgdesc="A console-based network traffic monitor"
arch=('i686' 'x86_64')
url="http://humdi.net/vnstat/"
@@ -15,7 +16,7 @@ backup=(etc/vnstat.conf)
install=vnstat.install
source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
http://humdi.net/vnstat/init.d/arch/vnstat)
-md5sums=('95421d968689130590348ceb80ff74a8'
+md5sums=('a5a113f9176cd61fb954f2ba297f5fdb'
'e89a566dd7514ff0d2d3fc77b2d4ca7e')
build() {
@@ -26,8 +27,8 @@ build() {
make all
make DESTDIR=$pkgdir install
- install -D -m0755 $srcdir/vnstat $pkgdir/etc/rc.d/vnstat && \
- install -D -m0644 examples/vnstat.cron $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron && \
- install -D -m0755 examples/vnstat.cgi $pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi && \
+ install -D -m0755 $srcdir/vnstat $pkgdir/etc/rc.d/vnstat
+ install -D -m0644 examples/vnstat.cron $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
+ install -D -m0755 examples/vnstat.cgi $pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi
sed -i 's#root##' $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron
}