~dricottone/huttese-apk

ref: 38f92e5a0b95e55fabc415268e5ab5b28223341b huttese-apk/sr.ht/lists.sr.ht/APKBUILD -rw-r--r-- 3.0 KiB
38f92e5a — Drew DeVault todo.sr.ht: add -nginx subpackage 4 years ago
                                                                                
73476f42 Drew DeVault
4b2c1590 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
4b2c1590 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=lists.sr.ht
pkgver=0.44.6
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
"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install $pkgname.post-upgrade"

build() {
	python3 setup.py build
}

package() {
	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="df07d5904d3071933b877dd1041d6962a21fcb8e2845e5f63339248a08d2f809ab88f79c3bbb93d8cfacc20112ec415f4ea7d4ceb299c4f1b3a257b2f053dd88  lists.sr.ht-0.44.6.tar.gz
50817a0e37f99f3620e539f539492567d1a69f12bfafd69c6f33eb79ba0822ee8e84bdd6c544e548f2dd40fe941e91272e22ee16948d571832029a4122bfb8e6  lists.sr.ht.initd
66d39dc5d1341c6b249035c80b90fe10c602eafc162eb084b485ad68b435378b846eda0658573d7190a4137e045f9ed87989caefbc019c6d4eac61e76523f207  lists.sr.ht.confd
b70ef07ee3247b33167111e301804d69416e8ebe020ea28587a4fd7d8fa0a81c7228309a5aa344d83f32578a7a66466f9484eac5332cfe264a538178645fd202  lists.sr.ht-process.initd
66d114850cc9002a2491458fb91947da35010e521f28a89828b0fd5ef76463a8298bd4f921f22a67c70cfc85cdf13a62a8eee71925eb6e531d81e36ff1e78982  lists.sr.ht-process.confd
4527cf69c943fcdf4ca8b9a02e3916fcadd03781995b34123b8b2a953e7962fd62f51cee5b22cb35ee702be8599015ae59dbd49583e7451a84bb1cc68f557c86  lists.sr.ht-lmtp.initd
47e703f2820bc6161909eb5434cba80b4c801fd4f18ee2b984afb217bbe43f21391ff86a8855d470b122131db1f2714a7c8c5aa58a6666123a8520327bdc0b11  lists.sr.ht-lmtp.confd
5f06d373d62096eea3c1bc6cabc220151f23705cd544be4b73d3ef488a4cffebfa5bd72455af7a1fc3b10fe08a894737fe627a1e2e2395a22d4bd08bd3042586  lists.sr.ht-webhooks.initd
66d114850cc9002a2491458fb91947da35010e521f28a89828b0fd5ef76463a8298bd4f921f22a67c70cfc85cdf13a62a8eee71925eb6e531d81e36ff1e78982  lists.sr.ht-webhooks.confd"