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
2022-12-31 00:26:53 +01:00
pkgver=0.5
pkgrel=1
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="
2022-12-31 00:26:53 +01:00
07e04bd5de57ef3c583184eb09fe0f492b07c92c49c6c92baa559e0305aa4cfd15a9e29e14813ed907cc3e7f24e30477848a9e7239e9fe5b241e740abf9a4d3a sheet-parser-0.5.tar.gz
53138a1301608551e5ff4e42bcf376a5e241705e2c9e1da17e06f099e54dc116d62cbd1f95f096f7da826eb5c193e23975d36009f8c49ebb328be05d2c2deffa zsh.completion
779ad32589bdc38b441352049445f55d21a2544eef00abf51894c901ca0fa3cc196fc50c2e0c350f5d1f9d65e0e6d2e1a9ef06a8fcce3d8699122635e239510d example.json
2022-08-21 23:33:09 +02:00
"