~dricottone/huttese-apk

ref: 48d4a42e9a31c22c03b912161784b859ba8ca9ab huttese-apk/sr.ht/dispatch.sr.ht/APKBUILD -rw-r--r-- 1.1 KiB
48d4a42e — Drew DeVault Remove unused grafana package 4 years ago
                                                                                
f90215b9 Drew DeVault
1264e997 Drew DeVault
f90215b9 Drew DeVault
1264e997 Drew DeVault
20bc2137 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=dispatch.sr.ht
pkgver=0.13.2
pkgrel=1
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"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
	dispatch.sr.ht.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"/dispatch.sr.ht.init \
		"$pkgdir"/etc/init.d/dispatch.sr.ht
}

sha512sums="3727ac71e937a2eb328b58760b6d30594afb53a331496a82d9d6d6bbdd805f9526373ad98b1d072329039dfcd2c766ead652a570dde939775b14c54b3d5c3af4  dispatch.sr.ht-0.13.2.tar.gz
e1f8d464056b903da60cabf98f87e985bb0b863f84c24d104b52063f7d8f6acb0a56abefeed83e3fc24436dd4914866e03ebb0a555770e04594a90c854afd7cb  dispatch.sr.ht.init"