diff options
author | Michał Polański <michal@polanski.me> | 2021-01-20 19:32:33 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-01-20 23:11:32 +0000 |
commit | 670b640a7a850612a28717db97ad2923b9ff2367 (patch) | |
tree | f004d693fea3e906e25667b9171681d94df7ce48 | |
parent | 5d5c757fdaeda21310d9b8346d3d53820925bda1 (diff) |
testing/zps: new aport
Utility for listing and reaping zombie processes
https://github.com/orhun/zps
-rw-r--r-- | testing/zps/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/zps/APKBUILD b/testing/zps/APKBUILD new file mode 100644 index 00000000000..97243fb72f7 --- /dev/null +++ b/testing/zps/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Michał Polański <michal@polanski.me> +# Maintainer: Michał Polański <michal@polanski.me> +pkgname=zps +pkgver=1.2.5 +pkgrel=0 +pkgdesc="Utility for listing and reaping zombie processes" +url="https://github.com/orhun/zps" +license="GPL-3.0-only" +arch="all" +options="!check" # no test suite +makedepends="cmake" +subpackages="$pkgname-doc" +source="https://github.com/orhun/zps/archive/$pkgver/zps-$pkgver.tar.gz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install + + install -Dm644 -t "$pkgdir"/usr/share/man/man1 man/zps.1 +} + +sha512sums="020518c7365cc913cff1e6d5b30a2a56aab63f947880671a3a5977cadb7fd7fcbfa137943702070979f703a6ad968c7a5112b326868b6925bc9aba7ea27b45a8 zps-1.2.5.tar.gz" |