~alpine/aports

testing/tut: new aport v3 APPLIED

Alexey Yerin: 1
 testing/tut: new aport

 1 files changed, 29 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3638/mbox | git am -3
Learn more about email & git

[PATCH v3] testing/tut: new aport Export this patch

TUI client for Mastdon
https://github.com/RasmusLindroth/tut
---
v2 -> v3:
* Remove 'cd "$builddir"' so that alint is happy

 testing/tut/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/tut/APKBUILD

diff --git a/testing/tut/APKBUILD b/testing/tut/APKBUILD
new file mode 100644
index 0000000000..b98165655b
--- /dev/null
+++ b/testing/tut/APKBUILD
@@ -0,0 +1,29 @@
# Contributor: Alexey Yerin <yyp@disroot.org>
# Maintainer: Alexey Yerin <yyp@disroot.org>
pkgname=tut
pkgver=0.0.29
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="
487ca2b51eb8349d621da09f43f3797ff9f62e51a15793cb8ec290fd0da4be38b42a4e283442c70573b75036f33eab3aa32f1cf217809a1c1aef4b37053bf375  tut-0.0.29.tar.gz
"
--
2.33.0