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.6
|
|
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 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="
|
|
9477c9f16c8a1103cdefbe4bd6dccfaf383e8ba2ef39b8f0db222d9381f6e4ff3ac27aa32a607a7663c64ab870147f3095d47abd52e5f155b0884348dcb4a107 sheet-parser-0.6.tar.gz
|
|
b901eb7ec27ba079224df700a6e6676e15ea5d24a712dadb76a6f7e7d1fde9c1c83ff0b3bfcdb762bb63bca2965b90af8b97e42a53b73154567bf98b9f21fdc5 zsh.completion
|
|
3280db6458beeb6c7f10e29607d48c6973b940dd1bd1e90fdd3b40c1b55ac3855163837c841a6627fc95aba045795400ae955f7e30c4951ba8169efe0f2c1740 example.json
|
|
"
|