2022-07-28 16:30:59 +02:00
|
|
|
# Contributor: Marty Sluijtman <marty.wanderer@disroot.org>
|
2022-07-28 16:18:38 +02:00
|
|
|
# Maintainer: Marty Sluijtman <marty.wanderer@disroot.org>
|
2022-07-28 16:30:59 +02:00
|
|
|
pkgname=dice-roller
|
2022-08-22 17:45:19 +02:00
|
|
|
pkgver=0.4
|
2022-08-23 17:27:08 +02:00
|
|
|
pkgrel=1
|
2022-07-28 16:30:59 +02:00
|
|
|
pkgdesc="A little D&D dice roller written in go"
|
2022-07-28 16:32:25 +02:00
|
|
|
url="https://gitlab.com/EternalWanderer/dice-roller"
|
2022-07-28 16:18:38 +02:00
|
|
|
arch="all"
|
2022-07-28 16:30:59 +02:00
|
|
|
license="WTFPL-2.0"
|
|
|
|
makedepends="go"
|
2022-08-21 19:04:57 +02:00
|
|
|
subpackages="$pkgname-doc
|
|
|
|
$pkgname-zsh-completion
|
|
|
|
"
|
|
|
|
source="https://alpine.voidcruiser.nl/src/dice-roller-$pkgver.tar.gz
|
|
|
|
zsh.completion"
|
2022-07-28 16:18:38 +02:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make install PREFIX=/usr DESTDIR="$pkgdir"
|
2022-08-21 19:04:57 +02:00
|
|
|
install -D -m 644 zsh.completion "$pkgdir"/usr/share/zsh/site-functions/_$pkgname
|
2022-07-28 16:18:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-08-23 17:27:08 +02:00
|
|
|
473c5efc4a7fe4dc28ec382a2b23662e97bfa039d06464101b45a237a454544263ee3b13f5eb40611b4b05b7a8cb6c19bee67d9288de6339a7d46951030ff317 dice-roller-0.4.tar.gz
|
|
|
|
7a036760c11a4d74532db14c4a0907798ac356a4f4433338abf14a322ecb7fa230f5322d1563661b16f9ae149d2e84c3df1584d597e951d278e0f89d56b24a57 zsh.completion
|
2022-07-28 16:18:38 +02:00
|
|
|
"
|