~dricottone/huttese-apk

fe7282402c83d4b5d152007b77324003c2c54f37 — Drew DeVault 4 years ago 32e0095
builds.sr.ht-nginx: add sr.ht-nginx dependency
1 files changed, 5 insertions(+), 3 deletions(-)

M sr.ht/builds.sr.ht/APKBUILD
M sr.ht/builds.sr.ht/APKBUILD => sr.ht/builds.sr.ht/APKBUILD +5 -3
@@ 4,7 4,7 @@ pkgver=0.62.5
pkgrel=0
pkgdesc="sr.ht build service"
url="https://git.sr.ht/~sircmpwn/builds.sr.ht"
arch="all"
arch="noarch"
license="AGPLv3"
depends="
	py3-ansi2html


@@ 18,9 18,9 @@ depends="
makedepends="py-setuptools nodejs sassc go"
subpackages="
	$pkgname-images:_images
	$pkgname-worker:_worker
	$pkgname-worker:_worker:all
	$pkgname-openrc
	$pkgname-nginx:_nginx
	$pkgname-nginx:_nginx:noarch
"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/${pkgver}.tar.gz


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

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