Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id E0FB0782C6F for <~alpine/aports@lists.alpinelinux.org>; Tue, 31 Aug 2021 15:43:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D539463DF3; Tue, 31 Aug 2021 17:43:55 +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 FHKTt1Lk0x-v; Tue, 31 Aug 2021 17:43:51 +0200 (CEST) From: Alexey Yerin DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1630424628; bh=nsfHo25QksNfTt5fEtxRyUtq5+Gj9b4BW74jdE87KWY=; h=From:To:Cc:Subject:Date; b=bkEjrNs/DSzU5whBjfRuftK07HDSMIyVhnCwj2Pb7X8t1lMnDU5l0/Nk7IJfveukF COMbDiJUXY2eyDAnGHfKZD2fVOaC2o1owKyog95uz/g65EdKgBStnOIofp5Rd5Tylt 9Qs+3XtZ+QT2qwyZ75B3F1bfaryB0KYlWoTCyrugKl0rxVrshFUqJQznV03CLcYiAi ND6orGCTKgPe7l3isqa8RQWASyChsMSCZtuanwURaPvLyPQkABrCc1wlZeSjsvdspi AG3sWPXviD6H54qa4lQLf/42uF+bJgOLDcuCp0sosIIukXG/1kL0aRHhcSjEOtk3Cg 2a8vNivseMa2w== To: ~alpine/aports@lists.alpinelinux.org Cc: Alexey Yerin Subject: [PATCH v3] testing/tut: new aport Date: Tue, 31 Aug 2021 18:43:47 +0300 Message-Id: <20210831154347.1725-1-yyp@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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 +# 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/$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