# Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=sheet-parser pkgver=0.4 pkgrel=0 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/sheet-parser/example.json } sha512sums=" b4dadf3252bfb01baad65823149ec379bd50efc02ffe68dab9b9d905fb928425d66653cf33f0a672916c143e74bba2b473f1d4f215976e381f483e59620b0dae sheet-parser-0.4.tar.gz c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion b2c696f4dec885014fb39a313f0cf80798aa80ad119c9fc4d9b10b7d80d62df603852142115aa9f925fc49bc865e6fafd37c0fe143bcde406bf380ff96655591 example.json "