~dricottone/huttese-apk

ref: 102bd23d98fda1fcdf8de9413e7259d36693ba9b huttese-apk/sr.ht/builds.sr.ht/APKBUILD -rw-r--r-- 1.3 KiB
102bd23d — Drew DeVault Drop python2 from py-cairosvg 5 years ago
                                                                                
2effb6a1 Drew DeVault
04866bce Drew DeVault
2effb6a1 Drew DeVault
57b6e806 Drew DeVault
2effb6a1 Drew DeVault
57b6e806 Drew DeVault
2effb6a1 Drew DeVault
57b6e806 Drew DeVault
2effb6a1 Drew DeVault
57b6e806 Drew DeVault
2effb6a1 Drew DeVault
57b6e806 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=builds.sr.ht
pkgver=0.4.6
pkgrel=0
pkgdesc="sr.ht build service"
url="https://git.sr.ht/~sircmpwn/builds.sr.ht"
arch="noarch"
license="AGPLv3"
depends="
	py3-srht
	py3-pgpy
	py3-celery
	py3-redis
	py3-yaml
	py3-markdown
	py3-bleach
"
makedepends="py-setuptools nodejs sassc"
subpackages="$pkgname-images"
source="
	http://git.sr.ht/~sircmpwn/$pkgname/snapshot/$pkgname-$pkgver.tar.xz
	builds.sr.ht-runner.initd
"
install="$pkgname.pre-install"
builddir="$srcdir/$pkgname-$pkgver"
export PKGVER=$pkgver
options="$options !check"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

images() {
	depends="qemu-system-x86_64 builds.sr.ht"
	cd "$builddir"
	mkdir -p "$subpkgdir"/var/lib/
	cp -R images "$subpkgdir"/var/lib/
	install -Dm755 "$srcdir"/builds.sr.ht-runner.initd "$subpkgdir"/etc/init.d/builds.sr.ht-runner
}

sha512sums="9eab18643eec0f282a564c2d49b96f184719707d35df5cc4fdced0c8157a9004a95dc0e878f989a1f9eaadd3171316d566b957f53206ddc837965d3c8242994d  builds.sr.ht-0.4.6.tar.xz
9a46e63e9cb24dc48c6e96d8b674a2481374c68568230ebda9e042624ff80406638a5da071e7b92769fe4feb71d5fa276d2d4ed47012fca2107d5d42ef48d6b1  builds.sr.ht-runner.initd"