# Contributor: Marty Sluijtman # Maintainer: Marty Sluijtman pkgname=sheet-parser pkgver=0.2 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" 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=" 35eec80feaa09c683759f996c8ad11f0c70a178fcae165a8921b58e4b3afbe8b6c92cc4000f084237cc1b80c6b7196035495227a6f689c081123159ea9c4ad62 sheet-parser-0.2.tar.gz c772f393191ebd3b68b0c08cc916b1605ce8bd7d7f458da58f00cfbb6120bebe7bc86d3b70a3f7bacc4eac05cfd33846fd7ec757c054018f25d629f88bd6fec0 zsh.completion 7c1f79d8c4348a7928f81064f29fe52b8475a573e8a14d3d6bd448453b0501af60c03b43301b7049bcc249661e66213f3365ac8d34ca5c52be1cbbd7278c6f8c example.json "