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.1
pkgrel=3
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="
630320d292ac8464ba273d917a7ad7015ba5a4f5812a5289b4c05115e7cd3a5a08eb7dea80eb6122204ec7bae068362be71647879816a8c3fbe737cf9a45b1e7 sheet-parser-0.1.tar.gz
af0b72e986c5c06fd8d05ccc2819e5fe9d80ed58a2e7fec87f7f1648e26698897268edf64659a9bb27654d8edc2051f0e93501686e8083accc50e7b7359e37fd zsh.completion
71177c48d8337abf048a7eaa924cb2f0ec0fc547f58ea2a2dd64ce4d549b39cfc1aa9cea369cd440fece484d32b8e09fccb9e5d402688b738df274d069b5fc93 example.json
"