~dricottone/huttese-apk

5a3be894c580b79bbb085e276df5273a33f4c1f7 — Drew DeVault 4 years ago 0a8736b
lists.sr.ht: add -nginx subpackage
1 files changed, 10 insertions(+), 3 deletions(-)

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


@@ 17,9 17,10 @@ depends="
	py3-gunicorn
"
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
	lists.sr.ht.initd
	lists.sr.ht.confd
	lists.sr.ht-process.initd


@@ 58,7 59,13 @@ package() {
		"$pkgdir"/etc/conf.d/lists.sr.ht-webhooks
}

sha512sums="df07d5904d3071933b877dd1041d6962a21fcb8e2845e5f63339248a08d2f809ab88f79c3bbb93d8cfacc20112ec415f4ea7d4ceb299c4f1b3a257b2f053dd88  lists.sr.ht-0.44.6.tar.gz
_nginx() {
	install -Dm644 "$srcdir/sr.ht-nginx-master/lists.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/lists.sr.ht.conf
}

sha512sums="e79b073e9a51385120f7cc0ba5af586d9e550b6de50fe0e4228ae8e782a17d41f98482c202ae89cc3aae1e3a85e5811d5e1c9bcb16cf00ee5a8fbda1657fa177  lists.sr.ht-0.45.5.tar.gz
ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc  sr.ht-nginx-0.45.5.tar.gz
50817a0e37f99f3620e539f539492567d1a69f12bfafd69c6f33eb79ba0822ee8e84bdd6c544e548f2dd40fe941e91272e22ee16948d571832029a4122bfb8e6  lists.sr.ht.initd
66d39dc5d1341c6b249035c80b90fe10c602eafc162eb084b485ad68b435378b846eda0658573d7190a4137e045f9ed87989caefbc019c6d4eac61e76523f207  lists.sr.ht.confd
b70ef07ee3247b33167111e301804d69416e8ebe020ea28587a4fd7d8fa0a81c7228309a5aa344d83f32578a7a66466f9484eac5332cfe264a538178645fd202  lists.sr.ht-process.initd