sheet-parser/APKBUILD

35 lines
1.1 KiB
Plaintext

# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=sheet-parser
pkgver=0.2
pkgrel=1
pkgdesc="A little D&D character sheet parser written in go"
url="https://gitlab.com/EternalWanderer/sheet-parser"
arch="all"
license="GPL-3.0"
makedepends="go"
subpackages="$pkgname-doc
$pkgname-zsh-completion
"
source="https://alpine.voidcruiser.nl/src/$pkgname-$pkgver.tar.gz
zsh.completion
example.json
"
options="!check"
build() {
make
}
package() {
make install PREFIX=/usr DESTDIR="$pkgdir"
install -Dm 644 zsh.completion "$pkgdir"/usr/share/zsh/site-functions/_$pkgname
install -Dm 644 example.json "$pkgdir"/etc/sheet-parser/example.json
}
sha512sums="
64c3a8a7090b16cca527c20af0ff03eff0035bbc823292ccb1f223273ad785ccdf022fb3a3aa07d4f474987abf026a46075a2623db801dc0855805448c7b4514 sheet-parser-0.2.tar.gz
eb93b5aaab730b3b2be2e2cca2bc0f27f336a7eca196ed86e0b4f82c49d5c0278c5a9d47de5c8e70fe3a59e9a88fcb3ce5f5c5ae22e886319c39fb721e0bc6b7 zsh.completion
ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json
"