~dricottone/huttese-apk

ref: 2f15413f0d65dc26e67f525a9f4ba6538dfb8a11 huttese-apk/sr.ht/lists.sr.ht/APKBUILD -rw-r--r-- 3.1 KiB
2f15413f — Drew DeVault qemu-minimal-static: new aport 4 years ago
                                                                                
73476f42 Drew DeVault
f8d3e69d Drew DeVault
73476f42 Drew DeVault
0d014d2d Drew DeVault
9e05cdb4 Drew DeVault
73476f42 Drew DeVault
f8d3e69d Drew DeVault
73476f42 Drew DeVault
f8d3e69d Drew DeVault
54f29d8b Drew DeVault
f8d3e69d Drew DeVault
f57497b4 Drew DeVault
f8d3e69d Drew DeVault
68d2167e Drew DeVault
f8d3e69d Drew DeVault
73476f42 Drew DeVault
f8d3e69d 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=lists.sr.ht
pkgver=0.27.1
pkgrel=0
pkgdesc="sr.ht mailing list service"
url="https://git.sr.ht/~sircmpwn/lists.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
	py3-emailthreads
	py3-pygit2
	py3-srht
	py3-celery
	py3-aiosmtpd
	py3-asyncpg
	py3-redis
	py3-gunicorn
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	lists.sr.ht.initd
	lists.sr.ht.confd
	lists.sr.ht-process.initd
	lists.sr.ht-process.confd
	lists.sr.ht-lmtp.initd
	lists.sr.ht-lmtp.confd
	lists.sr.ht-webhooks.initd
	lists.sr.ht-webhooks.confd
"
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
	mkdir -p "$pkgdir"/etc/init.d
	install -Dm755 "$srcdir"/lists.sr.ht.initd \
		"$pkgdir"/etc/init.d/lists.sr.ht
	install -Dm644 "$srcdir"/lists.sr.ht.confd \
		"$pkgdir"/etc/conf.d/lists.sr.ht
	install -Dm755 "$srcdir"/lists.sr.ht-lmtp.initd \
		"$pkgdir"/etc/init.d/lists.sr.ht-lmtp
	install -Dm644 "$srcdir"/lists.sr.ht-lmtp.confd \
		"$pkgdir"/etc/conf.d/lists.sr.ht-lmtp
	install -Dm755 "$srcdir"/lists.sr.ht-process.initd \
		"$pkgdir"/etc/init.d/lists.sr.ht-process
	install -Dm644 "$srcdir"/lists.sr.ht-process.confd \
		"$pkgdir"/etc/conf.d/lists.sr.ht-process
	install -Dm755 "$srcdir"/lists.sr.ht-webhooks.initd \
		"$pkgdir"/etc/init.d/lists.sr.ht-webhooks
	install -Dm644 "$srcdir"/lists.sr.ht-webhooks.confd \
		"$pkgdir"/etc/conf.d/lists.sr.ht-webhooks
}

sha512sums="b8ef18f78a7a8f43ddd868cd8c7c3dbbd0a5240dbee5f4ee553f9057ca0c9d070d6196abe4e6800bbf729e07b1a2f2c2728d91f3c05d81d4bb625135f4365895  lists.sr.ht-0.27.1.tar.gz
1343c585cc4a8e28067cd1191a1f64842a3cdbd6b79aa55e34468476555d0d28210912873044c033d426ad687b0362b05c8022618ff2eb140fa2555e5145eacf  lists.sr.ht.initd
3bff800b34e12ba05cbfa223855afeacacfb846221286d7f5c270ffef40a7afa6224c9cbe22d2e117b9350ed58c3ea3670b6c1e7265670ef89811fa6256241b3  lists.sr.ht.confd
0bd58c20843318e5bd3ab294ec3a5cdbf82c8b400f6c60b26ed188c2ae53100ebc3d461718877e4e44792261641c52e97e42f93b65ac48992df0bd2160d70d65  lists.sr.ht-process.initd
5521e95b2e69758957f575a1ec0d82a859f0c08a48dc4b3b60c3d7a1da24cba858f91d53a39bc8b5e57549124fae6caac581cec565ca2bf0c508d49be3c47186  lists.sr.ht-process.confd
cb5c0014d086c625f961ccbf7ee985f12364297b6f9579e81fea7ebe8d6bd5db80552e5e34a3307e0254a082bf906a72d1ade16722d9a26f034a04b170da75ea  lists.sr.ht-lmtp.initd
619d0940935f41d1079a9a725f45ee1e355ceb0d2fb98b7ddbb7320af60d49600b1b40ffa10a541c5f51df055e56aef2813522b6aeeeb35b318f10814ae1820b  lists.sr.ht-lmtp.confd
ced3ed3295b149dbeccd119322ff0bd450dee44ad47b1b74c8f0899365bdff2ae59195c00b0c793fb38da0d534f1e53fe8b465f510dbf3f9238015289a07a347  lists.sr.ht-webhooks.initd
5521e95b2e69758957f575a1ec0d82a859f0c08a48dc4b3b60c3d7a1da24cba858f91d53a39bc8b5e57549124fae6caac581cec565ca2bf0c508d49be3c47186  lists.sr.ht-webhooks.confd"