aports/testing/gemget/APKBUILD
2022-05-12 02:01:31 +02:00

26 lines
778 B
Plaintext

# Contributor: omni <omni@gitlab.alpinelinux.org>
# Maintainer: omni <omni@gitlab.alpinelinux.org>
pkgname=gemget
pkgver=1.8.0
pkgrel=5
pkgdesc="command line downloader for the Gemini protocol"
url="https://github.com/makeworld-the-better-one/gemget"
license="MIT"
arch="all"
makedepends="go"
options="!check" # no test files
source="$pkgname-$pkgver.tar.gz::https://github.com/makeworld-the-better-one/gemget/archive/v$pkgver.tar.gz"
export GOPATH="$srcdir"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
build() {
go build -v .
}
package() {
install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin
}
sha512sums="158a6519dc1c63e7398e85e56091deb433a2531b561470265346b9b07a7410b5517b0a082303c472c464fb166a01e803859cc0943426bafd99f894e5699291c3 gemget-1.8.0.tar.gz"