sheet-parser/APKBUILD

33 lines
1,020 B
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.1
2022-08-21 23:45:03 +02:00
pkgrel=2
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"
makedepends="go"
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-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="
2022-08-22 09:56:05 +02:00
34e0395108bd7ae271791978e402209e68bec4566a1613aed54e52bcbe27024ae610837d2ae67e6cc16e77cac072124d67e673ec38dd7d9ec512ae62cec58a12 sheet-parser-0.1.tar.gz
2022-08-21 23:45:03 +02:00
af0b72e986c5c06fd8d05ccc2819e5fe9d80ed58a2e7fec87f7f1648e26698897268edf64659a9bb27654d8edc2051f0e93501686e8083accc50e7b7359e37fd zsh.completion
2022-08-21 23:33:09 +02:00
"