~dricottone/huttese-apk

d49b5d68ed8867fc31a2df9039fddfd4a989e4a8 — Drew DeVault 4 years ago bd5e260
sr.ht/meta.sr.ht: add -billing subpackage
1 files changed, 11 insertions(+), 4 deletions(-)

M sr.ht/meta.sr.ht/APKBUILD
M sr.ht/meta.sr.ht/APKBUILD => sr.ht/meta.sr.ht/APKBUILD +11 -4
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=meta.sr.ht
pkgver=0.33.1
pkgrel=0
pkgver=0.41.10
pkgrel=1
pkgdesc="sr.ht account service"
url="https://git.sr.ht/~sircmpwn/meta.sr.ht"
arch="noarch"


@@ 20,7 20,7 @@ depends="
	redis
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
subpackages="$pkgname-openrc $pkgname-billing:_billing"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	meta.sr.ht.initd


@@ 51,7 51,14 @@ package() {
		"$pkgdir"/etc/conf.d/meta.sr.ht-webhooks
}

sha512sums="eaece632bfe8ae4c7d109aa5ca0e4ed200b866441003d8d26bcd4201cffe3b63b351a7a9b46324bad2240165769ceb85389b0ca07afe224c9c0387c82c2fca5d  meta.sr.ht-0.33.1.tar.gz
_billing() {
	depends="py3-weasyprint py3-html5lib py3-stripe"
	pkgdesc="Extra meta.sr.ht dependencies for billing"
	mkdir -p "$subpkgdir"/usr/lib/python3.8/metasrht
	touch "$subpkgdir"/usr/lib/python3.8/metasrht/.billing
}

sha512sums="45acab54174254b7f9d049462fb1f2e0c88a6f7127dbded67cd4f1c46e0e371728a1c0daaf0c598b3999f5f8e1ff1b4c26c9a762b5745f3f0b14f3d92022e8f2  meta.sr.ht-0.41.10.tar.gz
835da241def0e914b0c089113d1fd80023f727969c5cb46fc59608223ab698cd1f624bf43dd100a1b89f9a4959a1f1ae0072c1f268f8988a3e67378a4badaab0  meta.sr.ht.initd
6ee005b75d1a277a3795a0b91eb88c490f27f4053cad5d74051140e812ee5514c77a334f37cd70a3ef7be02feae4a0688e9c06401cd530d3d56b3441c3d57a54  meta.sr.ht.confd
6f307bfd287d3508b8fb0b7c5dc41b2ce935a98052d9b7f9c8a95148f810a0af11fae7a07918bc115c78a8b33ae88ba9b0a0209f52c7e5228f95cb94ccc992ea  meta.sr.ht-webhooks.initd