summaryrefslogtreecommitdiffstats
path: root/vnstati
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-05-08 15:04:11 +0200
committerFlorian Pritz <f-p@gmx.at>2009-05-08 15:04:11 +0200
commitb327b6a3f2bf9eef43655f79ee79d4865c2edbe2 (patch)
treedeb9df1e7ad4973fba3c31a21385c7dc04e6f5d0 /vnstati
parentaed08f01f8e6b0de458181975c14efe8b89c418f (diff)
downloadaur-packages-b327b6a3f2bf9eef43655f79ee79d4865c2edbe2.tar.gz
aur-packages-b327b6a3f2bf9eef43655f79ee79d4865c2edbe2.tar.xz
update vnstati to 1.7
Diffstat (limited to 'vnstati')
-rw-r--r--vnstati/PKGBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/vnstati/PKGBUILD b/vnstati/PKGBUILD
index a01d05a..673bde9 100644
--- a/vnstati/PKGBUILD
+++ b/vnstati/PKGBUILD
@@ -1,26 +1,24 @@
# Contributor: Florian Pritz <f-p@gmx.at>
pkgname=vnstati
-pkgver=beta3
-pkgrel=2
+pkgver=1.7
+pkgrel=1
pkgdesc="png image output support for vnStat"
arch=('i686' 'x86_64')
-url="http://humdi.net/vnstat/"
+url="http://humdi.net/vnstat"
license=('GPL')
depends=('vnstat' 'gd')
-source=("http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz" "Makefile.patch")
+source=("http://humdi.net/vnstat/vnstat-$pkgver.tar.gz")
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch < ${srcdir}/Makefile.patch
-
- make || return 1
- make DESTDIR="$pkgdir" install
+ cd $srcdir/vnstat-$pkgver
+ make all || return 1
+ install -s -D -m 755 src/vnstati $pkgdir/usr/bin/vnstati;
+ install -D -m 644 man/vnstati.1 $pkgdir/usr/share/man/man1/vnstati.1
+ gzip -f9 $pkgdir/usr/share/man/man1/vnstati.1;
}
# vim:set ts=2 sw=2 et:
-md5sums=('5652b955e16716cec48da464b083c76f'
- 'ab73fb536cb280a8479565f21ba3299d')
-sha256sums=('16a02930df0ab7eab44f1d63b655a64b63a7dee5ef70201fad395afcfafbf3a3'
- '45533ddee0274a00d4c4f8d6ab494bd5102855cbba349469502781c844c69292')
+
+md5sums=('e5788e8122e34f2c93561e2a84c19432')
+sha256sums=('146ed44226dbb83e42a1f73052e674e5c859f6ff3700501c1429f7af1d3952ca')