mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2024-11-28 21:13:51 +01:00
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
|
|
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
|
pkgname=sheet-parser
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
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/"$pkgname"/example.json
|
|
}
|
|
|
|
sha512sums="
|
|
48fa678167efe7413475f651fd2684f5d47c030ff3bd04dfbd54e85895d71ba54dcbacb5cf5e1ef88a901e2686b7d9818833ddb5c26315384e49342c16e82247 sheet-parser-0.5.tar.gz
|
|
53138a1301608551e5ff4e42bcf376a5e241705e2c9e1da17e06f099e54dc116d62cbd1f95f096f7da826eb5c193e23975d36009f8c49ebb328be05d2c2deffa zsh.completion
|
|
0061daaf051764d17078f205124bdf38526a7df83b072c5f85571fe9d88bda4f2e41e866670e4f8e3ea364ba5d595b3f7529c58b723fec6f03bd33fae26ec5fa example.json
|
|
"
|