aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-02-28 01:43:24 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-27 22:15:53 -0300
commitfed1c36db56ef64f3b003d745cd65563fd5bd05e (patch)
tree29613b68ddeba880d6ca299b59123b65d3914469 /testing
parent1d3167ebacb39925ab1989493ae466b1a33e4fc0 (diff)
downloadaports-fed1c36db56ef64f3b003d745cd65563fd5bd05e.tar.bz2
aports-fed1c36db56ef64f3b003d745cd65563fd5bd05e.tar.xz
testing/ytop: new aport
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"