From 26e12e7d8913e6ee1256203721aafe7c379a25fe Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2022 14:16:32 +0100 Subject: [PATCH] hg.sr.ht: use make --- sr.ht/hg.sr.ht/APKBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sr.ht/hg.sr.ht/APKBUILD b/sr.ht/hg.sr.ht/APKBUILD index 2e65d20..5c38aaa 100644 --- a/sr.ht/hg.sr.ht/APKBUILD +++ b/sr.ht/hg.sr.ht/APKBUILD @@ -32,10 +32,7 @@ install="$pkgname.post-install $pkgname.post-upgrade" build() { python3 setup.py build - cd hgsrht-keys - go build - cd ../api - go build + make } package() { @@ -55,10 +52,8 @@ package() { "$pkgdir"/etc/conf.d/hg.sr.ht-webhooks install -Dm644 "$srcdir"/hg.sr.ht.gunicorn.conf.py \ "$pkgdir"/etc/sr.ht/hg.sr.ht.gunicorn.conf.py - cd hgsrht-keys - install -Dm755 hgsrht-keys "$pkgdir"/usr/bin/hgsrht-keys - cd ../api - install -Dm755 api "$pkgdir"/usr/bin/hgsrht-api + install -Dm755 hgsrht-keys/hgsrht-keys "$pkgdir"/usr/bin/hgsrht-keys + install -Dm755 api/api "$pkgdir"/usr/bin/hgsrht-api cd ../hgsrht/hgrcs install -Dm644 global.cfg "$pkgdir"/etc/sr.ht/hgrcs/global.cfg install -Dm644 nonpublishing.cfg "$pkgdir"/etc/sr.ht/hgrcs/nonpublishing.cfg -- 2.45.2