From 9e357b10c416b5d3f3b69d02502ef09a99b1776a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2022 14:23:55 +0100 Subject: [PATCH] paste.sr.ht: use make --- sr.ht/paste.sr.ht/APKBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sr.ht/paste.sr.ht/APKBUILD b/sr.ht/paste.sr.ht/APKBUILD index e8b972a..bd91163 100644 --- a/sr.ht/paste.sr.ht/APKBUILD +++ b/sr.ht/paste.sr.ht/APKBUILD @@ -28,8 +28,7 @@ install="$pkgname.post-install $pkgname.post-upgrade" build() { python3 setup.py build - cd api - go build -o pastesrht-api + make } package() { @@ -42,9 +41,9 @@ package() { "$pkgdir"/etc/init.d/paste.sr.ht-api install -Dm644 "$srcdir"/paste.sr.ht-api.confd \ "$pkgdir"/etc/conf.d/paste.sr.ht-api - install -Dm755 api/pastesrht-api "$pkgdir"/usr/bin/pastesrht-api install -Dm644 "$srcdir"/paste.sr.ht.gunicorn.conf.py \ "$pkgdir"/etc/sr.ht/paste.sr.ht.gunicorn.conf.py + install -Dm755 api/api "$pkgdir"/usr/bin/pastesrht-api } _nginx() { -- 2.45.2