~dricottone/huttese-apk

26e12e7d8913e6ee1256203721aafe7c379a25fe — Drew DeVault 2 years ago 8496318
hg.sr.ht: use make
1 files changed, 3 insertions(+), 8 deletions(-)

M sr.ht/hg.sr.ht/APKBUILD
M sr.ht/hg.sr.ht/APKBUILD => sr.ht/hg.sr.ht/APKBUILD +3 -8
@@ 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