~dricottone/huttese-apk

aa98d6de80b75aa16ae57f13b3ba2b79abd8a645 — Drew DeVault 2 years ago 26e12e7
lists.sr.ht: use make
1 files changed, 2 insertions(+), 3 deletions(-)

M sr.ht/lists.sr.ht/APKBUILD
M sr.ht/lists.sr.ht/APKBUILD => sr.ht/lists.sr.ht/APKBUILD +2 -3
@@ 39,13 39,12 @@ install="$pkgname.post-install $pkgname.post-upgrade"

build() {
	python3 setup.py build
	cd api
	go build -o listssrht-api
	make
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
	install -Dm755 api/listssrht-api "$pkgdir"/usr/bin/listssrht-api
	install -Dm755 api/api "$pkgdir"/usr/bin/listssrht-api
	mkdir -p "$pkgdir"/etc/init.d
	install -Dm755 "$srcdir"/lists.sr.ht.initd \
		"$pkgdir"/etc/init.d/lists.sr.ht