aports/testing/roll/APKBUILD
Callum Andrew f6935080df testing/roll: new aport
Rolls a user-defined dice sequence
2025-05-26 22:54:49 +00:00

41 lines
835 B
Text

maintainer="Callum Andrew <contact@candrew.net>"
pkgname=roll
pkgver=2.6.1
pkgrel=0
pkgdesc="Rolls a user-defined dice sequence"
url="https://matteocorti.github.io/roll/"
license="GPL-2.0-or-later"
arch="all"
makedepends="autoconf automake bison flex"
subpackages="
$pkgname-doc
$pkgname-bash-completion
"
source="https://github.com/matteocorti/roll/archive/v$pkgver/roll-$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -vfi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
582b84d7776e6efbeb2b95d4eee1cfa3f883de7634d9bce0ccf1e1c939c2476fc57bd60aee73c425682e908cfc3c20a5abaeb52b96a870007b6d2965d2b15dfa roll-2.6.1.tar.gz
"