aboutsummaryrefslogtreecommitdiff
path: root/community/iotop-c/APKBUILD
blob: 2a5cc47a14d45f0d4283eb69852c6f7310acd1ad (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
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=iotop-c
pkgver=1.15
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="feb1d2674b2407f3c9011aca1e4e00b68264b955939be94e45434519ecb8bfc0290ceb17a3db5dafb5a7fd38ccbe5522851439b4437edcf13d0864bc6b8c4364  iotop-c-1.15.tar.gz"