@@ 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
}