~dricottone/huttese-apk

57b6e8063a41a88f9d6f89ce8a14c8ba10471bc1 — Drew DeVault 7 years ago 1702be4
Fix up builds.sr.ht package
2 files changed, 11 insertions(+), 3 deletions(-)

M builds.sr.ht/APKBUILD
M builds.sr.ht/builds.sr.ht-runner.initd
M builds.sr.ht/APKBUILD => builds.sr.ht/APKBUILD +10 -2
@@ 17,9 17,14 @@ depends="
"
makedepends="py-setuptools nodejs sassc"
subpackages="$pkgname-images"
source="http://git.sr.ht/~sircmpwn/$pkgname/snapshot/$pkgname-$pkgver.tar.xz"
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"


@@ 32,9 37,12 @@ package() {
}

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"
sha512sums="9eab18643eec0f282a564c2d49b96f184719707d35df5cc4fdced0c8157a9004a95dc0e878f989a1f9eaadd3171316d566b957f53206ddc837965d3c8242994d  builds.sr.ht-0.4.6.tar.xz
9a46e63e9cb24dc48c6e96d8b674a2481374c68568230ebda9e042624ff80406638a5da071e7b92769fe4feb71d5fa276d2d4ed47012fca2107d5d42ef48d6b1  builds.sr.ht-runner.initd"

M builds.sr.ht/builds.sr.ht-runner.initd => builds.sr.ht/builds.sr.ht-runner.initd +1 -1
@@ 14,7 14,7 @@ start() {
	ebegin "Starting $name"
	start-stop-daemon --background --make-pidfile --pidfile /run/$name.pid -u builds \
		--exec /usr/bin/celery -- \
		-A buildshr.runner worker --loglevel=info -c $(nproc)
		-A buildsrht.runner worker --loglevel=info -c $(nproc)
	eend $?
}