~dricottone/huttese-apk

ea275e1f28c739eac2fff399d2b3f782d69469ea — Drew DeVault 5 years ago 17867a8
Updates per gitsrht-dispatch Go rewrite
1 files changed, 5 insertions(+), 1 deletions(-)

M sr.ht/git.sr.ht/APKBUILD
M sr.ht/git.sr.ht/APKBUILD => sr.ht/git.sr.ht/APKBUILD +5 -1
@@ 11,7 11,7 @@ depends="
	py3-pygit2
	py3-redis
"
makedepends="py-setuptools nodejs sassc"
makedepends="py-setuptools nodejs sassc go"
subpackages="${pkgname}-openrc"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz


@@ 25,6 25,8 @@ install="$pkgname.post-install $pkgname.post-upgrade"
build() {
	cd "$builddir"
	python3 setup.py build
	cd gitsrht-dispatch
	go build
}

package() {


@@ 32,6 34,8 @@ package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
	mkdir -p "$pkgdir"/etc/init.d
	install -Dm755 "$srcdir"/git.sr.ht.init "$pkgdir"/etc/init.d/git.sr.ht
	cd gitsrht-dispatch
	install -Dm755 gitsrht-dispatch "$pkgdir"/usr/bin/gitsrht-dispatch
}

sha512sums="48d41ed22e4ba785366016c2044904eb2a2ab0e24f21660b2b262acce3e1f4bc04f36b2340f2344b924592e271c8e8ab67e76b472b0f5a1fbb8afe6f30f6b5b0  git.sr.ht-0.22.1.tar.gz