# Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=sheet-parser pkgver=0.1 pkgrel=2 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 " 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=" 34e0395108bd7ae271791978e402209e68bec4566a1613aed54e52bcbe27024ae610837d2ae67e6cc16e77cac072124d67e673ec38dd7d9ec512ae62cec58a12 sheet-parser-0.1.tar.gz af0b72e986c5c06fd8d05ccc2819e5fe9d80ed58a2e7fec87f7f1648e26698897268edf64659a9bb27654d8edc2051f0e93501686e8083accc50e7b7359e37fd zsh.completion "