~dricottone/huttese-apk

e4595be5ba89fea426eb97d7cd5841eb8bb136c5 — Drew DeVault 4 years ago cbc0839
git.sr.ht: add -nginx subpackage
1 files changed, 13 insertions(+), 6 deletions(-)

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


@@ 14,9 14,10 @@ depends="
	git
"
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
	git.sr.ht.initd
	git.sr.ht.confd
	git.sr.ht-api.initd


@@ 70,10 71,16 @@ package() {
	install -Dm755 gitsrht-api "$pkgdir"/usr/bin/gitsrht-api
}

sha512sums="38878163e6690bf1b052959a81e7a0ea00aa0432dbe9c7f59c4f483be1d875b4ea5415a6478737e6cca00d97c676d3f77519247ecc004557f036e2e8da0890fd  git.sr.ht-0.54.2.tar.gz
_nginx() {
	install -Dm644 "$srcdir/sr.ht-nginx-master/git.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/conf.d/git.sr.ht.conf
}

sha512sums="48777ef0f019c481a18a22cf6f2ef019a73baba53eda4314315084727aa3c6bef8d78ee115746dd57ca507909ef52cf0ee498035a135bfc9bbd2641ab14d42f1  git.sr.ht-0.60.5.tar.gz
ef662f839e59bba208210737bf193b230e8e6accf1cda343f91d013b7922f5923f8468d0f18e16376cf6cb6b6c4f2e6a361f7f45fb1da9cc6e42ad045b0e25fc  sr.ht-nginx-0.60.5.tar.gz
3debc75949507607a8572c2164b3785388cac46419a8d12cea5dc060a5effcb89913f6a873975dde732ea0749e899542055196979c44cb2d68ba226b96f1fd6c  git.sr.ht.initd
4a66308d07c4d71306c15c73cb04efaee66188699304dbea62b295bb64b30b0d66147d6fec736bc7c0718bf43ccbff560db74499e664852fcbe9b157fbbd874f  git.sr.ht.confd
721b0f736c28ece353707ae317a71f2cbf20b02e08f4a3d481a05bf798de4af4d1b7ad2c0fd774581e1c04f2771e139be9f784edc7d433e3a5aecfb7e9a56c78  git.sr.ht.confd
370a9f710704d7dfe88632f0ae2b7d2b406621322cab1f87f4f4c3984c741fba616f9c2a806d83e79250dc58aba89161a2db8ca424794dbd2cacbffb6e1a9adb  git.sr.ht-api.initd
9a115a47ea8db88575794c042809641dd4ab4a44706e290ea34c40e415474afbebff5adb0af7da5c5cf1fb5e9a4774587eae2207588562a4f7b0d2e651422190  git.sr.ht-api.confd
938a8aefdea3e4c6a9b15ac1c10d789282443c5b6cd1fee662d86af261cf69d8b67435f3bcececcd64544bd147addbd2792fcdbf67b9a36975e0e5e00f337719  git.sr.ht-api.confd
4038c7375d50ab393d076d31d776e82a2fcd54d6edcd55eb864fcc8d7254646799b4ee05a2e1f75f3a79e660e802a0fa05d9e34c16870aebe33dbf8191ed386a  git.sr.ht-webhooks.initd
e76b4b0ae51b040766b41da34082b6ea0f610a1039a3ce8b8d8ea496b90f52baf0a856a77b2aec7cd8dc0d2e57a6decca1c855fc2a779adc1baf7e3fe48bbaf0  git.sr.ht-webhooks.confd"
acd385323da772e1163b690eafca3b3a59e13bf236bb279c08a383a9ab2b356b4f1b7dce18f235882ba79c8ac35a6fa7594aad260962b38f7df70886e4fcace5  git.sr.ht-webhooks.confd"