From 5b2fccfc9e4731fd5bb2bf816541a7a6c4292188 Mon Sep 17 00:00:00 2001 From: Thomas Kienlen Date: Mon, 31 May 2021 21:08:43 +0200 Subject: [PATCH] testing/tty-proxy: new aport --- testing/tty-proxy/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/tty-proxy/APKBUILD diff --git a/testing/tty-proxy/APKBUILD b/testing/tty-proxy/APKBUILD new file mode 100644 index 00000000000..192d10374c5 --- /dev/null +++ b/testing/tty-proxy/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Thomas Kienlen +# Maintainer: Thomas Kienlen +pkgname=tty-proxy +pkgver=0.0.2 +pkgrel=0 +pkgdesc="Proxy used by the tty-share command for public facing sessions" +url="https://github.com/elisescu/tty-proxy" +arch="all" +license="MIT" +makedepends="go" +source="https://github.com/elisescu/tty-proxy/archive/v$pkgver/tty-proxy-$pkgver.tar.gz" +options="chmod-clean !check" # no test suite + +build() { + go build \ + -trimpath \ + -ldflags "-s -w" +} + +package() { + install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname +} + +sha512sums="ac245e047cde78ffd8a6742bb979d324f87876e3f8a507868f3958086110a00848a31d45788d1e2b04fa8434c54fc36c4aaf648686e4ade40305a2f311beff28 tty-proxy-0.0.2.tar.gz"