From 0161e95028bce8c2e674b87148a05e649a5bb0df Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 14 Sep 2020 10:11:43 -0600 Subject: [PATCH] hub.sr.ht-nginx: add sr.ht-nginx dependency --- sr.ht/hub.sr.ht/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sr.ht/hub.sr.ht/APKBUILD b/sr.ht/hub.sr.ht/APKBUILD index ed3702a..96f1382 100644 --- a/sr.ht/hub.sr.ht/APKBUILD +++ b/sr.ht/hub.sr.ht/APKBUILD @@ -11,7 +11,7 @@ depends=" py3-gunicorn " makedepends="py-setuptools nodejs sassc go" -subpackages="$pkgname-openrc $pkgname-nginx:_nginx" +subpackages="$pkgname-openrc $pkgname-nginx:_nginx:noarch" source=" $pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz sr.ht-nginx-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/sr.ht-nginx/archive/master.tar.gz @@ -36,6 +36,8 @@ package() { } _nginx() { + depends="sr.ht-nginx" + pkgdesc="nginx configuration for $pkgname" install -Dm644 "$srcdir/sr.ht-nginx-master/hub.sr.ht.conf" \ "$subpkgdir"/etc/nginx/conf.d/hub.sr.ht.conf } -- 2.45.2