dice-roller/APKBUILD

31 lines
941 B
Plaintext

# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=dice-roller
pkgver=0.3
pkgrel=7
pkgdesc="A little D&D dice roller written in go"
url="https://gitlab.com/EternalWanderer/dice-roller"
arch="all"
license="WTFPL-2.0"
makedepends="go"
subpackages="$pkgname-doc
$pkgname-zsh-completion
"
source="https://alpine.voidcruiser.nl/src/dice-roller-$pkgver.tar.gz
zsh.completion"
options="!check"
build() {
make
}
package() {
make install PREFIX=/usr DESTDIR="$pkgdir"
install -D -m 644 zsh.completion "$pkgdir"/usr/share/zsh/site-functions/_$pkgname
}
sha512sums="
fae8ab37cf7e4557c01f2b1c8d42d336e27fc2a2004ad16041dea97ea6ae1fa9ff9fcc69a25d087c790f86d6a82d66a34544a1041aa442f5f45fc5323d04000d dice-roller-0.3.tar.gz
d9cc5ea1c0473a33bd74b45bd30d10ef2948ea7a5769c4860de19cb48a2e48840be8827fde04c5284ac917d0f6ece62cc6c1c01f181fbecb27328462479c5954 zsh.completion
"