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.2
|
|
pkgrel=3
|
|
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="
|
|
ca46035163bd01b0ada37fd8e5dbf1ba939699d9dd934ec29f1412aa6486b077c40b104c2016f77517f7a80852a096ed8d3adea5d5ea19ece16b3b4361e54119 sheet-parser-0.2.tar.gz
|
|
c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion
|
|
ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json
|
|
"
|