aports/testing/roll/APKBUILD
2025-10-13 17:40:39 +02:00

42 lines
800 B
Plaintext

# Maintainer:
pkgname=roll
pkgver=2.6.1
pkgrel=1
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
"