~dricottone/huttese-apk

32e0095978bf4240d9bf738bbde74a9b65763529 — Drew DeVault 4 years ago 885467c
meta.sr.ht-nginx: add sr.ht-nginx dependency
1 files changed, 3 insertions(+), 1 deletions(-)

M sr.ht/meta.sr.ht/APKBUILD
M sr.ht/meta.sr.ht/APKBUILD => sr.ht/meta.sr.ht/APKBUILD +3 -1
@@ 19,7 19,7 @@ depends="
	redis
"
makedepends="py-setuptools nodejs sassc go"
subpackages="$pkgname-openrc $pkgname-billing:_billing $pkgname-nginx:_nginx"
subpackages="$pkgname-openrc $pkgname-billing:_billing:noarch $pkgname-nginx:_nginx:noarch"
# XXX: Is this sr.ht-nginx URL acceptable? I'm not sure how to version it
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz


@@ 69,6 69,8 @@ _billing() {
}

_nginx() {
	depends="sr.ht-nginx"
	pkgdesc="nginx configuration for $pkgname"
	install -Dm644 "$srcdir/sr.ht-nginx-master/meta.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/meta.sr.ht.conf
}