Date: Monday, September 1, 2014 @ 13:54:19
  Author: spupykin
Revision: 118121

upgpkg: vnstat 1.12-1

upd

Modified:
  vnstat/trunk/PKGBUILD
Deleted:
  vnstat/trunk/service

----------+
 PKGBUILD |   18 ++++++------------
 service  |    9 ---------
 2 files changed, 6 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-09-01 09:23:19 UTC (rev 118120)
+++ PKGBUILD    2014-09-01 11:54:19 UTC (rev 118121)
@@ -4,8 +4,8 @@
 # Contributor: Thorsten Töpper <atsutane...@freethoughts.de>
 
 pkgname=vnstat
-pkgver=1.11
-pkgrel=7
+pkgver=1.12
+pkgrel=1
 pkgdesc="A console-based network traffic monitor"
 arch=('i686' 'x86_64')
 url="http://humdi.net/vnstat/";
@@ -14,10 +14,8 @@
 makedepends=('gd')
 optdepends=('gd: image output')
 backup=(etc/vnstat.conf)
-source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
-       service)
-md5sums=('a5a113f9176cd61fb954f2ba297f5fdb'
-         'df452896729db4a569005f1ebf6b57f4')
+source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz)
+md5sums=('a154b2196771e06a8accd1c24374009c')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -27,10 +25,6 @@
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install SBIN=$pkgdir/usr/bin
-
-  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/vnstat.service
-
-  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
+  install -Dm0755 examples/vnstat.cgi 
$pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi
+  install -Dm0644 examples/systemd/vnstat.service 
$pkgdir/usr/lib/systemd/system/vnstat.service
 }

Deleted: service
===================================================================
--- service     2014-09-01 09:23:19 UTC (rev 118120)
+++ service     2014-09-01 11:54:19 UTC (rev 118121)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Network traffic monitor
-
-[Service]
-ExecStart=/usr/bin/vnstatd -n
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target

Reply via email to