aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/ytop/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/ytop/APKBUILD b/testing/ytop/APKBUILD
new file mode 100644
index 0000000000..1271a99897
--- /dev/null
+++ b/testing/ytop/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=ytop
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="A TUI system monitor written in Rust"
+url="https://github.com/cjbassi/ytop"
+arch="all !s390x" # limited by cargo
+license="MIT"
+options="!check" # no test suite
+makedepends="cargo"
+source="$pkgname-$pkgver.tar.gz::https://github.com/cjbassi/ytop/archive/$pkgver.tar.gz"
+
+build() {
+ cargo build --release --locked --all-features
+}
+
+package() {
+ install -Dm755 target/release/ytop "$pkgdir"/usr/bin/ytop
+}
+
+sha512sums="e3959df8c3972011f3be0a6ca939868b566036cc11064371be250bd7dc97fe067d5699029b0c59195d50c1c228b0f3f83c0c8f4ade8420926a0e57686b10f24a ytop-0.5.1.tar.gz"