~dricottone/huttese-apk

0a8736be3ca1623f0ad36bc4fed9cad06a4db3ea — Drew DeVault 4 years ago 9510bf0
builds.sr.ht: add -nginx subpackage
1 files changed, 15 insertions(+), 3 deletions(-)

M sr.ht/builds.sr.ht/APKBUILD
M sr.ht/builds.sr.ht/APKBUILD => sr.ht/builds.sr.ht/APKBUILD +15 -3
@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=builds.sr.ht
pkgver=0.60.2
pkgver=0.62.5
pkgrel=0
pkgdesc="sr.ht build service"
url="https://git.sr.ht/~sircmpwn/builds.sr.ht"


@@ 16,9 16,15 @@ depends="
	py3-yaml
"
makedepends="py-setuptools nodejs sassc go"
subpackages="$pkgname-images:_images $pkgname-worker:_worker $pkgname-openrc"
subpackages="
	$pkgname-images:_images
	$pkgname-worker:_worker
	$pkgname-openrc
	$pkgname-nginx:_nginx
"
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
	builds.sr.ht.confd
	builds.sr.ht.initd
	builds.sr.ht-worker.confd


@@ 62,7 68,13 @@ _worker() {
		"$subpkgdir"/etc/conf.d/builds.sr.ht-worker
}

sha512sums="5e681fc07b713aef43f6187455bd1ed1fc3b8917ad30d21de35fcc80cc6431ba947c58252a16153bf1345bf640886f4acbfaf6ec9bd119264cb34031f2fa9536  builds.sr.ht-0.60.2.tar.gz
_nginx() {
	install -Dm644 "$srcdir/sr.ht-nginx-master/builds.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/builds.sr.ht.conf
}

sha512sums="0aed71d9ba30d01bace46e7e1fff7a355765884b6c3aa71c013a3a980d1bea4899bfd4c5cda76128b862402f7f51e65503138d63553b1938844f6345f6121f78  builds.sr.ht-0.62.5.tar.gz
ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc  sr.ht-nginx-0.62.5.tar.gz
0e3ede63309393e15e5b4ecd7d9c511ca2ecc6b99b50bac34c876a3261975b723a45643405aeb0c3b2533f879e854c1f2f3c6d152137611ea3fea72b9d52a045  builds.sr.ht.confd
8efe408c19e088f83ad318d9c5388db1f54956acfd2a7daf75c0728acd40b26244eaea20c74a6f704018e2856831bc931c6646ca2f7842342763070ecc808033  builds.sr.ht.initd
5aa18804ddfee263763b035780679b98cf4877de193c254f24fab7ce56f304556af9a377bfca36635c21b4380892e8d458a420021919934080cc43feda1694c4  builds.sr.ht-worker.confd