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=5
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="
ffd1ff18f245e0caa21756cb403f5eaef6249ceec18dcf6b2035c37ebe8b0538e008ad7b251582c2c126f11ae1a80aa0ce5c6c51305a0bc6389a6974820f7f6c dice-roller-0.3.tar.gz
c46bff230964323b7bcfdcecb502a390df74ea779ec0f6a7ce16253453a9cf81cb280573ede8c2597d7967430fec98ef4c40f0a1104671a367500c65d35eff53 zsh.completion
"