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-19 10:54:11 +02:00
|
|
|
pkgver=0.3
|
2022-08-21 19:04:57 +02:00
|
|
|
pkgrel=5
|
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-21 19:04:57 +02:00
|
|
|
ffd1ff18f245e0caa21756cb403f5eaef6249ceec18dcf6b2035c37ebe8b0538e008ad7b251582c2c126f11ae1a80aa0ce5c6c51305a0bc6389a6974820f7f6c dice-roller-0.3.tar.gz
|
|
|
|
c46bff230964323b7bcfdcecb502a390df74ea779ec0f6a7ce16253453a9cf81cb280573ede8c2597d7967430fec98ef4c40f0a1104671a367500c65d35eff53 zsh.completion
|
2022-07-28 16:18:38 +02:00
|
|
|
"
|