# Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=sheet-parser pkgver=0.3 pkgrel=5 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=" adb4868c65a3e2c338cfc66028ffc41f7e2e93a113b8e77172cee089c85c04c0c72239b7fc2056cb257d05a60b13b5cf4bfe23a0ec4f4ae4d17f8a05c9988106 sheet-parser-0.3.tar.gz c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion a685291e2d6e6cad66ec4169301b698c1764fc2bc7a16cc57c0261ee70b55a95eccfa3f78ca418ad1bdb6814179209b215fc5181f42ba5500b1871152b7cd383 example.json "