~dricottone/huttese-apk

849631820c0a4ab68736319153a9849236779568 — Drew DeVault 2 years ago 2e0ae90
todo.sr.ht: use make
1 files changed, 2 insertions(+), 4 deletions(-)

M sr.ht/todo.sr.ht/APKBUILD
M sr.ht/todo.sr.ht/APKBUILD => sr.ht/todo.sr.ht/APKBUILD +2 -4
@@ 32,15 32,13 @@ install="$pkgname.post-install $pkgname.post-upgrade"

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

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1

	cd api
	install -Dm755 todosrht-api "$pkgdir"/usr/bin/todosrht-api
	install -Dm755 api/api "$pkgdir"/usr/bin/todosrht-api

	install -Dm755 "$srcdir"/todo.sr.ht.initd \
		"$pkgdir"/etc/init.d/todo.sr.ht