sheet-parser/APKBUILD

27 lines
653 B
Plaintext

# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=sheet-parser
pkgver=0.1
pkgrel=0
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
"
source="https://alpine.voidcruiser.nl/src/$pkgname-$pkgver.tar.gz"
options="!check"
build() {
make
}
package() {
make install PREFIX=/usr DESTDIR="$pkgdir"
install -D -m 644 misc/auto-completion/zsh/_nnn \
"$pkgdir"/usr/share/zsh/site-functions/_$pkgname
}