dice-roller/APKBUILD
2022-08-22 00:07:42 +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.3
pkgrel=9
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="
3b602f2f100e0a78db7bfdfb7a93249b602ee535dd83ed30d9a7121e79ff8fb83125d27ad468129685fe37e5978d933bf36100734cc6d8b2ad44bc136d95e7a6 dice-roller-0.3.tar.gz
0c25eb007d89a5c95c8f5c2924ca8f556e23ab53412b0186add03c8a3104c544c3ef8dbc6d3483bbaf04dfbd071cde5ebfc3ae5bf6d427152197376f7052d7f8 zsh.completion
"