sheet-parser/APKBUILD

35 lines
1.1 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-08-22 15:17:58 +02:00
pkgver=0.2
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"
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-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-22 15:17:58 +02:00
35eec80feaa09c683759f996c8ad11f0c70a178fcae165a8921b58e4b3afbe8b6c92cc4000f084237cc1b80c6b7196035495227a6f689c081123159ea9c4ad62 sheet-parser-0.2.tar.gz
c772f393191ebd3b68b0c08cc916b1605ce8bd7d7f458da58f00cfbb6120bebe7bc86d3b70a3f7bacc4eac05cfd33846fd7ec757c054018f25d629f88bd6fec0 zsh.completion
7c1f79d8c4348a7928f81064f29fe52b8475a573e8a14d3d6bd448453b0501af60c03b43301b7049bcc249661e66213f3365ac8d34ca5c52be1cbbd7278c6f8c example.json
2022-08-21 23:33:09 +02:00
"