dice-roller/APKBUILD
2022-08-22 17:45:19 +02:00

31 lines
941 B
Plaintext

# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
pkgname=dice-roller
pkgver=0.4
pkgrel=0
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="
45b37c9d58883b81a23a7d46dedfc44177d770dc18d859f11af5995352fc8a8fe4823bc3a7b5f5f0ef4dd09668ce09538b3e47977e33aa40ad4f964f901e0769 dice-roller-0.4.tar.gz
0c25eb007d89a5c95c8f5c2924ca8f556e23ab53412b0186add03c8a3104c544c3ef8dbc6d3483bbaf04dfbd071cde5ebfc3ae5bf6d427152197376f7052d7f8 zsh.completion
"