~dricottone/huttese-apk

820995e58d7c0f8f9d50ec45089aec88bc70898e — Drew DeVault 3 years ago ba4d735
todo.sr.ht: forgot to build Go binary
1 files changed, 6 insertions(+), 0 deletions(-)

M sr.ht/todo.sr.ht/APKBUILD
M sr.ht/todo.sr.ht/APKBUILD => sr.ht/todo.sr.ht/APKBUILD +6 -0
@@ 32,10 32,16 @@ install="$pkgname.post-install $pkgname.post-upgrade"

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

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

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

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