summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-01-07 10:16:11 -0800
committerZach van Rijn <me@zv.io>2024-01-09 05:35:38 -0800
commitd539cf0c977cc0ae2470c56f2d11cca6cef7d4c4 (patch)
tree26142131b71dda52bef0624302a7ed21116682af
parenta3ed9dfa0a435aa99080deb521ec05c92dc10365 (diff)
downloadpackages-d539cf0c977cc0ae2470c56f2d11cca6cef7d4c4.tar.gz
packages-d539cf0c977cc0ae2470c56f2d11cca6cef7d4c4.tar.bz2
packages-d539cf0c977cc0ae2470c56f2d11cca6cef7d4c4.tar.xz
packages-d539cf0c977cc0ae2470c56f2d11cca6cef7d4c4.zip
user/iotop-c: new package.
-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"