~dricottone/huttese-apk

ref: 6c92f9839f3fa96395f685138784b9cb5c940e4a huttese-apk/sr.ht/meta.sr.ht/APKBUILD -rw-r--r-- 1.4 KiB
6c92f983 — Drew DeVault lists.sr.ht: Use srht-migrate for core migrations 5 years ago
                                                                                
bdb848ee Drew DeVault
95c16981 Drew DeVault
bdb848ee Drew DeVault
95c16981 Drew DeVault
bdb848ee Drew DeVault
95c16981 Drew DeVault
bdb848ee Drew DeVault
95c16981 Drew DeVault
34b63818 Drew DeVault
bdb848ee Drew DeVault
694a3f7e Drew DeVault
bdb848ee Drew DeVault
694a3f7e Drew DeVault
eb639bfb Drew DeVault
17867a8b Drew DeVault
bdb848ee Drew DeVault
eb639bfb Drew DeVault
17867a8b Drew DeVault
bdb848ee Drew DeVault
95c16981 Drew DeVault
17867a8b Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=meta.sr.ht
pkgver=0.9.8
pkgrel=0
pkgdesc="sr.ht account service"
url="https://git.sr.ht/~sircmpwn/meta.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
	py3-bcrypt
	py3-gunicorn
	py3-pgpy
	py3-pyotp
	py3-pystache
	py3-qrcode
	py3-redis
	py3-srht
	py3-sshpubkeys
	py3-prometheus-client
	redis
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	meta.sr.ht.init
	meta.sr.ht-webhooks.init
"
builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install $pkgname.post-upgrade"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
	install -Dm755 "$srcdir"/meta.sr.ht.init "$pkgdir"/etc/init.d/meta.sr.ht
	install -Dm755 "$srcdir"/meta.sr.ht-webhooks.init \
		"$pkgdir"/etc/init.d/meta.sr.ht-webhooks
}

sha512sums="3f6559de738796ea522fff2ed1aa592bbae4ba56f59535fb66885deb832b5189fd023b108a63427e94128cd5dc71491c76d1e0104b51f20f758bd3fa89168c16  meta.sr.ht-0.9.8.tar.xz
c149ba165ce153a13f55ce4b46427e6a7f7dc97ce7bbd776e6d56255b90edb52cc02f80c83e59dd11a67efd1ef0fe9e2a2812ca171d215df15513a1ca60ba597  meta.sr.ht.init
2f002245a570ae7e51063f488e5199cb34de71762d1fdf0605463923a02b6d81d20c7bc5777f6c984b2f58906b0378fe53b456d76f56a06ec865db1e3923d8c8  meta.sr.ht-webhooks.init"