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