Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 3AB20782B38 for <~alpine/aports@lists.alpinelinux.org>; Tue, 31 Aug 2021 07:25:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9A61B63C0F; Tue, 31 Aug 2021 09:16:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i4hC877GfWBJ; Tue, 31 Aug 2021 09:16:58 +0200 (CEST) From: Alexey Yerin DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1630394218; bh=hW3teWsgBQFTTTFxCc7j/jZiPEUSa3cy7EAZCRJqr5E=; h=From:To:Cc:Subject:Date; b=O2i0K368Xtmmz98nAQliEgyTVQiVXgaSDLBq7KC7OiAexRJmfaIg65VqeGCqSJz5X 0onKs+KDvyVYrE5yuaJh+ZJ89bqtpegEX8/8Xr6HcGSGgGaHZd/GPhIVh/hcdQ87ez dcPG237XUhuq1OlmpigBVrJX8shieUvl++s4OHdrAxu9HT1FMFbWUg8t9QIq1pYIHK VaW1o1pemnB3hMUd3rPVbeyDYxj4LchICSK9f4vuSDpNFLHYT7vQ9ym8Hkol8LYYkS ca4m2a84Q7zIt+as7lH3F8FytyLZJ3qLN45CTFNYxk6VJDk6gpb+oQqBOyC8Nji1m0 rAazJT1ONbO2w== To: ~alpine/aports@lists.alpinelinux.org Cc: Alexey Yerin Subject: [PATCH] testing/tut: new aport Date: Tue, 31 Aug 2021 10:16:49 +0300 Message-Id: <20210831071649.21145-1-yyp@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit TUI client for Mastdon https://github.com/RasmusLindroth/tut --- testing/tut/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/tut/APKBUILD 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 +# Maintainer: Alexey Yerin +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 +" -- 2.33.0