# Contributor: Anjandev Momi # Maintainer: Anjandev Momi pkgname=openring pkgver=1.0.1 pkgrel=14 pkgdesc="a webring for static site generators" url="https://sr.ht/~sircmpwn/openring/" arch="all" license="GPL-3.0-only and CC0-1.0" makedepends="go binutils" options="!check" source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/openring/archive/$pkgver.tar.gz" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" export GOFLAGS="$GOFLAGS -modcacherw" build() { go build openring.go } package() { mkdir -p "$pkgdir"/usr/bin install openring "$pkgdir"/usr/bin } sha512sums=" 72e31ba14cf7abe7fc6ed1aba6d35b25296c5133235ae98ff62806a6ca33111bcdee745889327bc42d811ed2902d07855fcb3eca612c5948085570e8752fbd0a openring-1.0.1.tar.gz "