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
|
2023-02-01 13:37:38 +01:00
|
|
|
pkgver=0.6
|
|
|
|
pkgrel=0
|
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-02-01 13:37:38 +01:00
|
|
|
9477c9f16c8a1103cdefbe4bd6dccfaf383e8ba2ef39b8f0db222d9381f6e4ff3ac27aa32a607a7663c64ab870147f3095d47abd52e5f155b0884348dcb4a107 sheet-parser-0.6.tar.gz
|
|
|
|
b901eb7ec27ba079224df700a6e6676e15ea5d24a712dadb76a6f7e7d1fde9c1c83ff0b3bfcdb762bb63bca2965b90af8b97e42a53b73154567bf98b9f21fdc5 zsh.completion
|
|
|
|
3280db6458beeb6c7f10e29607d48c6973b940dd1bd1e90fdd3b40c1b55ac3855163837c841a6627fc95aba045795400ae955f7e30c4951ba8169efe0f2c1740 example.json
|
2022-08-21 23:33:09 +02:00
|
|
|
"
|