dice-roller/APKBUILD
2022-08-21 19:17:05 +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=6
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="
3b522f0184ddef92b429c15cbb6dedfb9fa6f921babbd0aeb250a49c0a3bfdabcc822e74fd64997708a2770f3db22837f0f736d317b71917af8082f0ff2d693e dice-roller-0.3.tar.gz
bbf917fb1ea714eff6d89894ad0db7ae49b29dd1e8d0f3d44994d635f955e27ee410c1b49a08060a7e4f62faf266515c4889225b7ce3ff6062be53a56140dcd2 zsh.completion
"