From 849631820c0a4ab68736319153a9849236779568 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2022 14:10:14 +0100 Subject: [PATCH] todo.sr.ht: use make --- sr.ht/todo.sr.ht/APKBUILD | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sr.ht/todo.sr.ht/APKBUILD b/sr.ht/todo.sr.ht/APKBUILD index 2d55f2a..9529cc6 100644 --- a/sr.ht/todo.sr.ht/APKBUILD +++ b/sr.ht/todo.sr.ht/APKBUILD @@ -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 -- 2.45.2