aboutsummaryrefslogtreecommitdiffstats
path: root/community/tut/APKBUILD
blob: ee9bc5c9d34657857b08f955617692924f1e10e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Alexey Yerin <yyp@disroot.org>
# Maintainer: Alexey Yerin <yyp@disroot.org>
pkgname=tut
pkgver=1.0.15
pkgrel=0
pkgdesc="TUI for Mastodon"
url="https://github.com/RasmusLindroth/tut"
arch="all"
license="MIT"
makedepends="go"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/RasmusLindroth/tut/archive/refs/tags/$pkgver.tar.gz
"
options="net !check" # no tests

export GOPATH="$srcdir/go"
export GOFLAGS="$GOFLAGS -modcacherw -trimpath"

build() {
	go build $GOFLAGS -o tut
}

package() {
	install -D -m755 tut "$pkgdir"/usr/bin/tut
}

sha512sums="
37bb1b02c6ddf627a4b775d41f6e881fd7c081ee40943cfa61719a446e6279b91352ee7df73da5ca65a11ddeb20b8a56fb1a1a41e4b6cde46dae615898385d09  tut-1.0.15.tar.gz
"