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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=todo.sr.ht
pkgver=0.58.11
pkgrel=0
pkgdesc="sr.ht ticket tracking service"
url="https://git.sr.ht/~sircmpwn/todo.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
py3-aiosmtpd
py3-gunicorn
py3-pystache
py3-srht
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"
source="
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
todo.sr.ht.initd
todo.sr.ht.confd
todo.sr.ht-lmtp.initd
todo.sr.ht-lmtp.confd
todo.sr.ht-webhooks.confd
todo.sr.ht-webhooks.initd
"
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
install -Dm755 "$srcdir"/todo.sr.ht.initd \
"$pkgdir"/etc/init.d/todo.sr.ht
install -Dm644 "$srcdir"/todo.sr.ht.confd \
"$pkgdir"/etc/conf.d/todo.sr.ht
install -Dm755 "$srcdir"/todo.sr.ht-lmtp.initd \
"$pkgdir"/etc/init.d/todo.sr.ht-lmtp
install -Dm644 "$srcdir"/todo.sr.ht-lmtp.confd \
"$pkgdir"/etc/conf.d/todo.sr.ht-lmtp
install -Dm755 "$srcdir"/todo.sr.ht-webhooks.initd \
"$pkgdir"/etc/init.d/todo.sr.ht-webhooks
install -Dm644 "$srcdir"/todo.sr.ht-webhooks.confd \
"$pkgdir"/etc/conf.d/todo.sr.ht-webhooks
}
sha512sums="248527a193990130edcadef28c5d843acd0d2e40ec335f6f8623f795a9c8fa895c1fcb3937035145dc9f338f66b8bbabe7e01bc2e6891794ba70260a7240ff0d todo.sr.ht-0.58.11.tar.gz
9f0c7284e7dd21156efdbad8074651c643ed6eb8aaca70d44fdfc652726930f8f1036d7f5d55f64bfb09e220e9c4d8e17b0abb54793daae44716deea6d122145 todo.sr.ht.initd
289ae27788ec7a1d3462c77250134f809d0e18ff46b5cc793abca53db68d7240e3e5c6c7d694b1950edfdc7fa8d299204b08b5a81373a044cea0649fd79ad94e todo.sr.ht.confd
c4ac342b5fa506c1323d9c55f36b800e16cb9afdecc32f94bf7261c8fa2710db839b84137d24f3e43ac28e036cf21f63c381a650661e722e416c61a6cf44c938 todo.sr.ht-lmtp.initd
da5ba92a1e3f49850dbaf6eb98e8eb30baf9c7ebd63e493f1b1b2e5f5c05599710daa998ee070b340f125ec9897fad55b47dad0ad3aca83d1a05d70537f607a2 todo.sr.ht-lmtp.confd
2188b57950d9753b7192945a46c8269b5ff7015fbafd55e4539d7499bd2bd278062ec48fd86fe65d17db78131b013d649204cb23c341b14539fc7d5bebc9a40e todo.sr.ht-webhooks.confd
a2e9686eacd4f37262067749b8844c005839cf190751ab9d49f631e1aa61f64541715e19a942ab20f0541db2b7594499c5c12b522c7b4b90176543f05d576eb7 todo.sr.ht-webhooks.initd"