mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
28 lines
890 B
Text
28 lines
890 B
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=tty-proxy
|
|
pkgver=0.0.2
|
|
pkgrel=27
|
|
pkgdesc="Proxy used by the tty-share command for public facing sessions"
|
|
url="https://github.com/elisescu/tty-proxy"
|
|
# loongarch64 build failed
|
|
arch="all !loongarch64"
|
|
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
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build \
|
|
-trimpath
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
|
|
}
|
|
|
|
sha512sums="ac245e047cde78ffd8a6742bb979d324f87876e3f8a507868f3958086110a00848a31d45788d1e2b04fa8434c54fc36c4aaf648686e4ade40305a2f311beff28 tty-proxy-0.0.2.tar.gz"
|