From 66da8504777d8228691764cf4e939dc771fbd784 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 11 Mar 2010 22:22:49 +0100 Subject: add dstat Signed-off-by: Florian Pritz --- dstat/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dstat/PKGBUILD (limited to 'dstat') diff --git a/dstat/PKGBUILD b/dstat/PKGBUILD new file mode 100644 index 0000000..fa3ecad --- /dev/null +++ b/dstat/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Schnouki +# Contributor: devon +pkgname=dstat +pkgver=0.7.1 +pkgrel=1 +pkgdesc="Dstat: Versatile resource statistics tool" +arch=('any') +url="http://dag.wieers.com/home-made/dstat/" +license=('GPL') +depends=('python') +source=(http://dag.wieers.com/home-made/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('a9287762c4b9dade5fd85124ccd003c8') +sha1sums=('41c958b4bd3222bbb6776fe1986278938800243d') + +build() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install || return 1 + + cd docs + for f in *.html *.txt; do + install -Dm644 $f $pkgdir/usr/share/doc/$pkgname/$f || return 1 + done +} -- cgit v1.2.3-24-g4f1b