~dricottone/huttese-apk

68c0405cf4942799ca823b092b865e32dcff2545 — Drew DeVault 4 years ago d19d6aa
dispatch.sr.ht: add -nginx subpackage
1 files changed, 10 insertions(+), 3 deletions(-)

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


@@ 13,9 13,10 @@ depends="
	py3-yaml
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
subpackages="$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
	dispatch.sr.ht.confd
	dispatch.sr.ht.initd
"


@@ 36,6 37,12 @@ package() {
		"$pkgdir"/etc/conf.d/dispatch.sr.ht
}

sha512sums="3270903bfd8995c570cda06e76b27e43bac5243fd1f2eaed9bcf35a60326b3805d8119aa287ccd03f9ca934bde58d82a00ac027fb46449683c25cb870c217b25  dispatch.sr.ht-0.14.5.tar.gz
_nginx() {
	install -Dm644 "$srcdir/sr.ht-nginx-master/dispatch.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/dispatch.sr.ht.conf
}

sha512sums="ee369df1f9bd8aa169f5f6bdbae293f4e92b00f28906839f26166bd1fe7dc47a57fff81e61e747c206cbb6d1eaa7256971e6bce59802d01db4d90ae08c0c6380  dispatch.sr.ht-0.14.8.tar.gz
ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc  sr.ht-nginx-0.14.8.tar.gz
2cb15282905d56d6b17f5aed032b15d98da64c9ec315db4650e0729398a9ea4d9704a57e3b7f55e1c5381914f7fe5e85b58e4e88e9e68fcab89ef1763e377278  dispatch.sr.ht.confd
9e96f369c042faba2130e20861e3f6e458c0d986961bff284040f76832012c488836aef870e4e7ba238f8443659953a0edfc0f1c10878ca73d27fe3756766955  dispatch.sr.ht.initd"