~dricottone/huttese-apk

ref: fdcc03158a8727f6f58854fbdaf8e1fa67b55286 huttese-apk/sr.ht/dispatch.sr.ht/APKBUILD -rw-r--r-- 1.8 KiB
fdcc0315 — Drew DeVault py3-kombu: "upgrade" to 5.2.0 3 years ago
                                                                                
f90215b9 Drew DeVault
651850fe Drew DeVault
19ae9ecb Drew DeVault
f90215b9 Drew DeVault
68c0405c Drew DeVault
f90215b9 Drew DeVault
68c0405c Drew DeVault
19ae9ecb Drew DeVault
f90215b9 Drew DeVault
19ae9ecb Drew DeVault
f90215b9 Drew DeVault
19ae9ecb Drew DeVault
f90215b9 Drew DeVault
68c0405c Drew DeVault
404b2a00 Drew DeVault
68c0405c Drew DeVault
5252462d Drew DeVault
68c0405c Drew DeVault
651850fe Drew DeVault
19ae9ecb Drew DeVault
b354aec1 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=dispatch.sr.ht
pkgver=0.15.8
pkgrel=0
pkgdesc="sr.ht dispatch service"
url="https://git.sr.ht/~sircmpwn/dispatch.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
	py3-gunicorn
	py3-pygithub
	py3-srht
	py3-yaml
"
makedepends="py-setuptools nodejs sassc"
subpackages="$pkgname-openrc $pkgname-nginx:_nginx"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	sr.ht-nginx-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/sr.ht-nginx/archive/master.tar.gz
	dispatch.sr.ht.confd
	dispatch.sr.ht.initd
"
builddir="$srcdir/$pkgname-$pkgver"
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"/dispatch.sr.ht.initd \
		"$pkgdir"/etc/init.d/dispatch.sr.ht
	install -Dm644 "$srcdir"/dispatch.sr.ht.confd \
		"$pkgdir"/etc/conf.d/dispatch.sr.ht
}

_nginx() {
	depends="sr.ht-nginx"
	pkgdesc="nginx configuration for $pkgname"
	install -Dm644 "$srcdir/sr.ht-nginx-master/dispatch.sr.ht.conf" \
		"$subpkgdir"/etc/nginx/http.d/dispatch.sr.ht.conf
}

sha512sums="3567d1828193b72785e99493d1e9846917a5a4e27cb66d366d0536c7cbdc61d25e6b6156d78ee2c2899174e197236eb149dfb81a4b95d50f8083d3329217a75f  dispatch.sr.ht-0.15.8.tar.gz
0b2b6b2916799e20d05d6e35fdb20ac0cded65e254beb79a3aa91d4faa20fe6c93bd3e178acb2d2966841a7ce4f0149b0a863db1d57a36407ff85833779d3959  sr.ht-nginx-0.15.8.tar.gz
2cb15282905d56d6b17f5aed032b15d98da64c9ec315db4650e0729398a9ea4d9704a57e3b7f55e1c5381914f7fe5e85b58e4e88e9e68fcab89ef1763e377278  dispatch.sr.ht.confd
9e96f369c042faba2130e20861e3f6e458c0d986961bff284040f76832012c488836aef870e4e7ba238f8443659953a0edfc0f1c10878ca73d27fe3756766955  dispatch.sr.ht.initd"