aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tut/APKBUILD
blob: 08af9b4fecdcd00b30045b5c3d486f52bb456c52 (plain) (blame)
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=0.0.31
pkgrel=1
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="
e9478813f5091bce2578176ba04f48473cb990110ecaf307b3f7b99d1c1fa27fb5e551bd745a7a03361702e23bbd22eec180458864ab47322435a983451570cf  tut-0.0.31.tar.gz
"