~dricottone/huttese-apk

091e85465d76a9f61de06fe53860771c3d5915ef — Drew DeVault 4 years ago 68c0405
hub.sr.ht: add -nginx subpackage
1 files changed, 10 insertions(+), 3 deletions(-)

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


@@ 11,9 11,10 @@ depends="
	py3-gunicorn
"
makedepends="py-setuptools nodejs sassc go"
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
	hub.sr.ht.initd
	hub.sr.ht.confd
"


@@ 34,6 35,12 @@ package() {
		"$pkgdir"/etc/conf.d/hub.sr.ht
}

sha512sums="81a2dc9807c060fb7e8cf00ce5a96e1e1eaa4e9009ed6a94fbbb3de4df7960e96eeac5e26ae2ccde7b36a30135b7eeb46d16706fe5e00136ea89516f25d39874  hub.sr.ht-0.7.0.tar.gz
_nginx() {
	install -Dm644 "$srcdir/sr.ht-nginx-master/hub.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/hub.sr.ht.conf
}

sha512sums="cf7ce2df7a21b18182009c2011fa24c1672e5ed8fafb04bbfdb7685fefb3bbe35672d77b6e6eb78a7b6adc7898a93937eb47d3fe7d231fcb4388a5207d832e0b  hub.sr.ht-0.10.5.tar.gz
ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc  sr.ht-nginx-0.10.5.tar.gz
b120bdb3cc74a124259babf8b3f271fa74fbd4fac0dfd1a2a88b7e2311473f8509936019926d6770ca07b3cdd7cf37627c8f37a8f97790da56d2b33b2bf39dca  hub.sr.ht.initd
b7c6210b6893918ad655a709b39469607f3cff8d193948c1a74c6c364e9fb9dc3ed03d5ccb682b3b4581622988242f925977096a595e010ba4ef3afea0b6100e  hub.sr.ht.confd"