aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gemget/APKBUILD
blob: 7c131ab71c32e79700ec9610884d5847e307e268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: omni <omni@gitlab.alpinelinux.org>
# Maintainer: omni <omni@gitlab.alpinelinux.org>
pkgname=gemget
pkgver=1.8.0
pkgrel=1
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"