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-08-22 15:17:58 +02:00
|
|
|
pkgver=0.2
|
2022-08-23 22:19:25 +02:00
|
|
|
pkgrel=4
|
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="
|
2022-08-23 22:19:25 +02:00
|
|
|
3cc84508f6f35b36f27202655ecc574985f82889ae9d648468837e1c25127f911f3e332185e0fe64d9770ace92455244db24922cde2610f8a86a2a4c93943db7 sheet-parser-0.2.tar.gz
|
2022-08-23 20:58:04 +02:00
|
|
|
c1800a72d8d229d46a7ea2dffb83f97c7edaf773a9a875a2ae10b449ae84ab854b80eac05a62002f6a686bb8b014c9b1bc8e2359286b2edccda4d90227a473e5 zsh.completion
|
2022-08-22 15:53:04 +02:00
|
|
|
ab6b9e0f9b1532c0e14e8995c2c77851d449d019edd675c6c6474b8f230c3b9547c36ebc7eeb318f7ec2a695d07c009e3df35a9984fc4570d71181aa730d6852 example.json
|
2022-08-21 23:33:09 +02:00
|
|
|
"
|