mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +02:00
37 lines
1 KiB
Text
37 lines
1 KiB
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=tty-share
|
|
pkgver=2.4.0
|
|
pkgrel=17
|
|
pkgdesc="Share your terminal over the Internet"
|
|
url="https://tty-share.com/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
source="https://github.com/elisescu/tty-share/archive/v$pkgver/tty-share-$pkgver.tar.gz
|
|
update-go-mod.patch
|
|
"
|
|
options="chmod-clean !check" # no test suite
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
# after patch go.mod
|
|
go mod vendor
|
|
}
|
|
build() {
|
|
go build \
|
|
-trimpath
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
c28bd5b6367555544087238ef243e8408baf4e078b4807c1c08ad614ae63fd331fd52a5f3a0216a193b78563d0ce4c1bf81d9e8aae2941d9416af335287e6f84 tty-share-2.4.0.tar.gz
|
|
7f3b3ce17e16031180f912ec69eaa8dfa377f8aa2f69147e20fab3e1fd99ab6c87debd3388c5cfbe32fde2c44405e3fb50b8cd80567790e72580236e8e2f7d3f update-go-mod.patch
|
|
"
|