dice-roller/APKBUILD

31 lines
941 B
Plaintext
Raw Normal View History

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
pkgver=0.3
2022-08-21 19:17:05 +02:00
pkgrel=6
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:17:05 +02:00
3b522f0184ddef92b429c15cbb6dedfb9fa6f921babbd0aeb250a49c0a3bfdabcc822e74fd64997708a2770f3db22837f0f736d317b71917af8082f0ff2d693e dice-roller-0.3.tar.gz
bbf917fb1ea714eff6d89894ad0db7ae49b29dd1e8d0f3d44994d635f955e27ee410c1b49a08060a7e4f62faf266515c4889225b7ce3ff6062be53a56140dcd2 zsh.completion
2022-07-28 16:18:38 +02:00
"