summaryrefslogtreecommitdiffstats
path: root/dstat/PKGBUILD
blob: 132521ef3bb46bfc4488b8d32b149d35e549be67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Schnouki <thomas.jost@gmail.com>
# Contributor: devon <admin@patched.biz>
pkgname=dstat
pkgver=0.7.2
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=('bfea4dc8037a0b18fc40a4dfc104dcc8')
sha1sums=('10baf061e3d38e1234fb99182fc53509adf07269')

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  
}