From aa98d6de80b75aa16ae57f13b3ba2b79abd8a645 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2022 14:19:16 +0100 Subject: [PATCH] lists.sr.ht: use make --- sr.ht/lists.sr.ht/APKBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sr.ht/lists.sr.ht/APKBUILD b/sr.ht/lists.sr.ht/APKBUILD index 930a931..02eb96b 100644 --- a/sr.ht/lists.sr.ht/APKBUILD +++ b/sr.ht/lists.sr.ht/APKBUILD @@ -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 -- 2.45.2