ref: master
pkgs/hidrocor/APKBUILD
# Maintainer: Pedro Lucas Porcellispkgname=hidrocor pkgver=0.0.2 pkgrel=0 pkgdesc="A simple and tiny markdown-based wiki engine." url="https://git.sr.ht/~porcellis/hidrocor" arch="all" license="GPLv3" subpackages="$pkgname-openrc" makedepends="go" install="$pkgname.pre-install" source=" $pkgname-$pkgver.tar.gz::https://git.sr.ht/~porcellis/$pkgname/archive/$pkgver.tar.gz $pkgname.initd $pkgname.confd " pkggroups="hidrocor" builddir="$srcdir/$pkgname-$pkgver" build() { make } check() { go test ./... } package() { install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } sha512sums=" 14f9896fe41aa394d11fd4810cd9a1a5ec8d1bd6480592745d5957197343bffbe3c687baa632ce90e227f548542c293888096e6fc21adda29441e35a59d4e8fa hidrocor-0.0.2.tar.gz 1828f3e6f6ca0e7fd237c2eff2ca986c04f91de26c22d325a52dafa5b7fdb7727dc002fea0c064976bab914011a24af28b21676404560bd2183c8ef6af9ff57f hidrocor.initd 18cc4fd58362c5617bc40a56563d8cfacf59ef236e3430b94c335c672c39b4c6405514e4350d76fbe670102fcf09d7fc7b875d8f44046199647d55860a8621ba hidrocor.confd "