sheet-parser/APKBUILD

35 lines
1.2 KiB
Plaintext
Raw Normal View History

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
pkgver=0.3
pkgrel=6
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
install -Dm 644 example.json "$pkgdir"/etc/sheet-parser/example.json
2022-08-21 01:12:22 +02:00
}
2022-08-21 23:33:09 +02:00
sha512sums="
425236cc04fa682b62efe876e036e2d4bbc8d6b9082c72e59ad3bc0e4c04ac8062fb7155420cc9d8fcd92e2b14509fc8fead434d687d9c65295c0bddd3b999d5 sheet-parser-0.3.tar.gz
2022-08-23 20:58:04 +02:00
c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion
b2c696f4dec885014fb39a313f0cf80798aa80ad119c9fc4d9b10b7d80d62df603852142115aa9f925fc49bc865e6fafd37c0fe143bcde406bf380ff96655591 example.json
2022-08-21 23:33:09 +02:00
"