# Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=sheet-parser pkgver=0.5 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 scdoc" 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/"$pkgname"/example.json } sha512sums=" 07e04bd5de57ef3c583184eb09fe0f492b07c92c49c6c92baa559e0305aa4cfd15a9e29e14813ed907cc3e7f24e30477848a9e7239e9fe5b241e740abf9a4d3a sheet-parser-0.5.tar.gz 53138a1301608551e5ff4e42bcf376a5e241705e2c9e1da17e06f099e54dc116d62cbd1f95f096f7da826eb5c193e23975d36009f8c49ebb328be05d2c2deffa zsh.completion 779ad32589bdc38b441352049445f55d21a2544eef00abf51894c901ca0fa3cc196fc50c2e0c350f5d1f9d65e0e6d2e1a9ef06a8fcce3d8699122635e239510d example.json "