aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dstat/APKBUILD
blob: 8aa5a0bd9b05e9a7cd7027f0bb726a0962bc9956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=dstat
pkgver=0.7.3
pkgrel=0
pkgdesc="A versatile resource statistics tool"
url="http://dag.wieers.com/home-made/dstat/"
arch="noarch"
license="GPL2+"
depends="python"
depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/dagwieers/${pkgname}/archive/${pkgver}.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make || return 1
	return 0
}

package() {
	cd "$builddir"
	make DESTDIR=$pkgdir install || return 1
}

md5sums="be27c905e6737993306dbbcee735e8ad  dstat-0.7.3.tar.gz"
sha256sums="46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898  dstat-0.7.3.tar.gz"
sha512sums="db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2  dstat-0.7.3.tar.gz"