projects/aports·blob master · refs

33 lines · 915 B

1# Contributor: Thomas Kienlen <[email protected]>
2# Maintainer: Thomas Kienlen <[email protected]>
3pkgname=tty-share
4pkgver=2.4.0
5pkgrel=29
6pkgdesc="Share your terminal over the Internet"
7url="https://tty-share.com/"
8arch="all"
9license="MIT"
10makedepends="go"
11source="https://github.com/elisescu/tty-share/archive/v$pkgver/tty-share-$pkgver.tar.gz
12 update-go-mod.patch
13 "
14options="chmod-clean !check" # no test suite
15
16prepare() {
17 default_prepare
18 # after patch go.mod
19 go mod vendor
20}
21build() {
22 go build \
23 -trimpath
24}
25
26package() {
27 install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
28}
29
30sha512sums="
31c28bd5b6367555544087238ef243e8408baf4e078b4807c1c08ad614ae63fd331fd52a5f3a0216a193b78563d0ce4c1bf81d9e8aae2941d9416af335287e6f84 tty-share-2.4.0.tar.gz
327f3b3ce17e16031180f912ec69eaa8dfa377f8aa2f69147e20fab3e1fd99ab6c87debd3388c5cfbe32fde2c44405e3fb50b8cd80567790e72580236e8e2f7d3f update-go-mod.patch
33"