~dricottone/huttese-apk

f83e5eb38ac3452e25d215a5f9041ae52564be05 — Denis Laxalde 4 years ago 2ff2cf7
hg.sr.ht: build hgsrht-keys Go program
1 files changed, 5 insertions(+), 1 deletions(-)

M sr.ht/hg.sr.ht/APKBUILD
M sr.ht/hg.sr.ht/APKBUILD => sr.ht/hg.sr.ht/APKBUILD +5 -1
@@ 13,7 13,7 @@ depends="
	py3-unidiff
	hg-evolve
"
makedepends="py-setuptools nodejs sassc"
makedepends="py-setuptools nodejs sassc go"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://hg.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz


@@ 30,6 30,8 @@ install="$pkgname.post-install $pkgname.post-upgrade"
build() {
	cd "$builddir"
	python3 setup.py build
	cd hgsrht-keys
	go build
}

package() {


@@ 44,6 46,8 @@ package() {
		"$pkgdir"/etc/init.d/hg.sr.ht-webhooks
	install -Dm644 "$srcdir"/hg.sr.ht-webhooks.confd \
		"$pkgdir"/etc/conf.d/hg.sr.ht-webhooks
	cd hgsrht-keys
	install -Dm755 hgsrht-keys "$pkgdir"/usr/bin/hgsrht-keys
}

sha512sums="afcb5db447a71cb187bc054b51defa11474cbce52aba75979b0a1c72ddbe51bbc25c1fedc4bb10676624193e9c59a895049a9232ce0a003336474f0267934549  hg.sr.ht-0.9.3.tar.gz