Subject: [PATCH] testing/hatop: new aport

From: Gavin-John Noonan <[email-masked]>
Date: Mon, 30 Mar 2020 01:05:15 +0100

Signed-off-by: Gavin-John Noonan <[email-masked]>
---
 testing/hatop/APKBUILD | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 testing/hatop/APKBUILD

diff --git a/testing/hatop/APKBUILD b/testing/hatop/APKBUILD
new file mode 100644
index 000000000000..372f34b28892
--- /dev/null
+++ b/testing/hatop/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Gavin-John Noonan <[email-masked]>
+# Maintainer: Gavin-John Noonan <[email-masked]>
+pkgname="hatop"
+pkgver="0.7.7"
+pkgrel=0
+pkgdesc="Interactive ncurses client for the HAProxy unix socket"
+url="https://github.com/jhunt/hatop"
+arch="noarch"
+license="GPLv3"
+depends="python2 haproxy"
+options="!check" # No test suite
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jhunt/hatop/archive/v$pkgver.tar.gz"
+builddir="$srcdir/"
+
+package() {
+	install -Dm755 "$pkgname-$pkgver/bin/hatop" \
+		"$pkgdir/usr/bin/hatop"
+	install -Dm644 "$pkgname-$pkgver/man/hatop.1" \
+		"$pkgdir/usr/share/man/man1/hatop.1"
+
+}
+
+sha512sums="d678caf9f98ff4a800af120c0f06ffb842f55747486050070b2096526fda16e6e009d47e4cd6237ad3de2cf69732ebf5f29eba0dd84098e27ddc90f3a51212d6  hatop-0.7.7.tar.gz"
-- 
2.26.0.rc1.11.g30e9940356dc