summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/iotop-c/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/iotop-c/APKBUILD b/user/iotop-c/APKBUILD
new file mode 100644
index 000000000..b8c65e6bf
--- /dev/null
+++ b/user/iotop-c/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Zach van Rijn <me@zv.io>
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=iotop-c
+pkgver=1.25
+pkgrel=0
+pkgdesc="A 'top' utility for I/O"
+url="https://github.com/Tomas-M/iotop"
+arch="all"
+options="!check" # no test suite
+license="GPL-2.0+"
+depends=""
+makedepends="ncurses-dev"
+provides="iotop"
+replaces="iotop"
+subpackages="$pkgname-doc"
+source="https://github.com/Tomas-M/iotop/releases/download/v$pkgver/iotop-$pkgver.tar.xz"
+builddir="$srcdir"/iotop-$pkgver
+
+build() {
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ee51c6c42b85684a00afb4e52b071d446263b579706d1dab7497e5b0e01da5f839185b4404e464ff7d300ff975283331e1f15c033bd66f7d6e2611ccddf39f18 iotop-1.25.tar.xz"