~dricottone/huttese-apk

0bebfb7b6899d5c4a3582bcb1802b04134c0f5e8 — Drew DeVault 3 years ago f8d3a63
builds.sr.ht: cd builddir?
1 files changed, 3 insertions(+), 0 deletions(-)

M sr.ht/builds.sr.ht/APKBUILD
M sr.ht/builds.sr.ht/APKBUILD => sr.ht/builds.sr.ht/APKBUILD +3 -0
@@ 47,6 47,7 @@ build() {
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
	install -Dm755 api/api "$pkgdir"/usr/bin/builds.sr.ht-api
	install -Dm755 "$srcdir"/builds.sr.ht.initd \


@@ 62,6 63,7 @@ package() {
_images() {
	depends="builds.sr.ht"
	pkgdesc="builds.sr.ht build images"
	cd "$builddir"
	mkdir -p "$subpkgdir"/var/lib/
	cp -R images "$subpkgdir"/var/lib/
}


@@ 69,6 71,7 @@ _images() {
_worker() {
	depends="builds.sr.ht-images"
	pkgdesc="builds.sr.ht build worker"
	cd "$builddir"
	install -Dm755 worker/worker "$subpkgdir"/usr/bin/builds.sr.ht-worker
	install -Dm755 "$srcdir"/builds.sr.ht-worker.initd \
		"$subpkgdir"/etc/init.d/builds.sr.ht-worker