aboutsummaryrefslogtreecommitdiffstats
path: root/community/iotop/APKBUILD
blob: 5acbc732a8d1a331e3fc56286ec47ba485797fc4 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=iotop
pkgver=0.6
pkgrel=1
pkgdesc="I/O monitoring tool"
url="http://guichaz.free.fr/iotop/"
arch="noarch"
license="GPL-2.0"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="http://guichaz.free.fr/iotop/files/iotop-$pkgver.tar.bz2"

builddir="$srcdir"/iotop-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="5ef9456b26d7694abf3101a72e1e0d1d  iotop-0.6.tar.bz2"
sha256sums="3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b  iotop-0.6.tar.bz2"
sha512sums="b1047da3bc46604447cc8ab22442a3a5381e1a79a6b176fe9ee8402ee5cebb959205407a6aeaffccccde9d2f67624ff8ee6717b051838f13ab88bf3a16db3ab9  iotop-0.6.tar.bz2"