diff options
author | Florian Pritz <f-p@gmx.at> | 2009-05-08 15:04:47 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-05-08 15:04:47 +0200 |
commit | 06805f308765f6c08f66bcba64d256683b83a4a2 (patch) | |
tree | e278b90e7e87d9bcccb488169869eda43f4b8683 /vnstat/PKGBUILD | |
parent | b327b6a3f2bf9eef43655f79ee79d4865c2edbe2 (diff) | |
download | aur-packages-06805f308765f6c08f66bcba64d256683b83a4a2.tar.gz aur-packages-06805f308765f6c08f66bcba64d256683b83a4a2.tar.xz |
mass update
Diffstat (limited to 'vnstat/PKGBUILD')
-rw-r--r-- | vnstat/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vnstat/PKGBUILD b/vnstat/PKGBUILD new file mode 100644 index 0000000..124dcd8 --- /dev/null +++ b/vnstat/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD,v 1.6 2009/04/13 09:19:05 sergej Exp $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=vnstat +pkgver=1.7 +pkgrel=1 +pkgdesc="network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s)" +arch=(i686 x86_64) +url="http://humdi.net/vnstat" +license=('GPL') +depends=() +makedepends=() +install=vnstat.install +source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz) +md5sums=('e5788e8122e34f2c93561e2a84c19432') + +build() { + cd $startdir/src/$pkgname-$pkgver + mkdir -p $startdir/pkg/usr/share/vnstat/cron + mkdir -p $startdir/pkg/etc/cron.d + cp cron/vnstat $startdir/pkg/usr/share/vnstat/cron + make || return 1 + make DESTDIR=$startdir/pkg/ install || return 1 + install -D -m0644 cron/vnstat $pkgdir/etc/cron.d/vnstat && \ + sed -i 's#root##' $pkgdir/etc/cron.d/vnstat +} |