aboutsummaryrefslogtreecommitdiffstats
path: root/community/openring/APKBUILD
blob: fd97887bb0d30039eff36f8eb151d586afd6f1f4 (plain) (blame)
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
26
# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=openring
pkgver=1.0.0
pkgrel=0
pkgdesc="a webring for static site generators"
url="https://sr.ht/~sircmpwn/openring/"
arch="all"
license="GPL-3.0-only"
makedepends="go binutils"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/openring/archive/$pkgver.tar.gz"

build() {
	export GOFLAGS="$GOFLAGS -modcacherw"
	go build openring.go
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	install openring "$pkgdir"/usr/bin
}

sha512sums="
2e2cb092ca41d3eb5e3d3aa95bf23af7aa862444f1d1cba7177d76abf7eaec106839edeace5ac93a3c0a9801ac28e82dd1de0b8445049367a09e33b168758e87  openring-1.0.0.tar.gz
"