# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=iotop-c
pkgver=1.30
pkgrel=0
pkgdesc="simple top-like I/O monitor (implemented in C)"
url="https://github.com/Tomas-M/iotop"
arch="all"
license="GPL-2.0-or-later"
options="!check" # no tests
depends="!iotop"
makedepends="linux-headers ncurses-dev coreutils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Tomas-M/iotop/archive/v$pkgver.tar.gz"
builddir="$srcdir/iotop-$pkgver"

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
8447a617371b23d32fbb8dad7c328985faa246cbce800f66d0a1ed1223167bf5a43245318fa35ac33d7c0bbd90a93d495f011811f4547b285ea0377812e9bb1e  iotop-c-1.30.tar.gz
"
