From f83e5eb38ac3452e25d215a5f9041ae52564be05 Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Wed, 8 Jan 2020 09:06:31 +0100 Subject: [PATCH] hg.sr.ht: build hgsrht-keys Go program --- sr.ht/hg.sr.ht/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sr.ht/hg.sr.ht/APKBUILD b/sr.ht/hg.sr.ht/APKBUILD index cbfceaf..cfbeb58 100644 --- a/sr.ht/hg.sr.ht/APKBUILD +++ b/sr.ht/hg.sr.ht/APKBUILD @@ -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 -- 2.45.2