2022-08-21 01:12:22 +02:00
|
|
|
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
|
|
|
|
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
|
|
|
pkgname=sheet-parser
|
2022-12-31 00:26:53 +01:00
|
|
|
pkgver=0.5
|
|
|
|
pkgrel=1
|
2022-08-21 01:12:22 +02:00
|
|
|
pkgdesc="A little D&D character sheet parser written in go"
|
|
|
|
url="https://gitlab.com/EternalWanderer/sheet-parser"
|
|
|
|
arch="all"
|
|
|
|
license="GPL-3.0"
|
2022-08-23 20:58:04 +02:00
|
|
|
makedepends="go scdoc"
|
2022-08-21 01:12:22 +02:00
|
|
|
subpackages="$pkgname-doc
|
|
|
|
$pkgname-zsh-completion
|
|
|
|
"
|
2022-08-21 23:45:03 +02:00
|
|
|
source="https://alpine.voidcruiser.nl/src/$pkgname-$pkgver.tar.gz
|
|
|
|
zsh.completion
|
2022-08-22 10:03:54 +02:00
|
|
|
example.json
|
2022-08-21 23:45:03 +02:00
|
|
|
"
|
2022-08-21 01:12:22 +02:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make install PREFIX=/usr DESTDIR="$pkgdir"
|
2022-08-22 09:56:05 +02:00
|
|
|
install -Dm 644 zsh.completion "$pkgdir"/usr/share/zsh/site-functions/_$pkgname
|
2022-12-31 00:26:53 +01:00
|
|
|
install -Dm 644 example.json "$pkgdir"/etc/"$pkgname"/example.json
|
2022-08-21 01:12:22 +02:00
|
|
|
}
|
|
|
|
|
2022-08-21 23:33:09 +02:00
|
|
|
sha512sums="
|
2023-01-31 09:57:02 +01:00
|
|
|
48fa678167efe7413475f651fd2684f5d47c030ff3bd04dfbd54e85895d71ba54dcbacb5cf5e1ef88a901e2686b7d9818833ddb5c26315384e49342c16e82247 sheet-parser-0.5.tar.gz
|
2022-12-31 00:26:53 +01:00
|
|
|
53138a1301608551e5ff4e42bcf376a5e241705e2c9e1da17e06f099e54dc116d62cbd1f95f096f7da826eb5c193e23975d36009f8c49ebb328be05d2c2deffa zsh.completion
|
2023-01-31 09:57:02 +01:00
|
|
|
0061daaf051764d17078f205124bdf38526a7df83b072c5f85571fe9d88bda4f2e41e866670e4f8e3ea364ba5d595b3f7529c58b723fec6f03bd33fae26ec5fa example.json
|
2022-08-21 23:33:09 +02:00
|
|
|
"
|