diff options
author | Alexey Yerin <yyp@disroot.org> | 2021-08-31 10:16:49 +0300 |
---|---|---|
committer | dispatch <dispatch@listserv.local> | 2021-08-31 07:25:13 +0000 |
commit | b0e66ce53905e42009882890012c4e41e0ed0bc1 (patch) | |
tree | a8d2386e912a43544392b6272bb0a57196f7131f /testing/tut/APKBUILD | |
parent | 4b73c7c906a15bcc95502bc49f907efaea93615a (diff) | |
download | aports-patches/3635.tar.gz aports-patches/3635.tar.bz2 aports-patches/3635.tar.xz |
testing/tut: new aportpatches/3635
TUI client for Mastdon
https://github.com/RasmusLindroth/tut
Diffstat (limited to 'testing/tut/APKBUILD')
-rw-r--r-- | testing/tut/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/tut/APKBUILD b/testing/tut/APKBUILD new file mode 100644 index 0000000000..3840d41566 --- /dev/null +++ b/testing/tut/APKBUILD @@ -0,0 +1,31 @@ +# 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/0.0.29.tar.gz +" +options="net !check" # no tests + +export GOPATH="$srcdir/go" +export GOFLAGS="$GOFLAGS -modcacherw -trimpath" + +build() { + cd "$builddir" + go build $GOFLAGS -o tut +} + +package() { + cd "$builddir" + install -D -m755 tut "$pkgdir"/usr/bin/tut +} + +sha512sums=" +487ca2b51eb8349d621da09f43f3797ff9f62e51a15793cb8ec290fd0da4be38b42a4e283442c70573b75036f33eab3aa32f1cf217809a1c1aef4b37053bf375 tut-0.0.29.tar.gz +" |