mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 14:24:06 +02:00
42 lines
839 B
Text
42 lines
839 B
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=nickle
|
|
pkgver=2.103
|
|
pkgrel=0
|
|
pkgdesc="Desk calculator language with C-like syntax"
|
|
url="https://nickle.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="
|
|
bison
|
|
flex
|
|
gmp-dev
|
|
muon
|
|
readline-dev
|
|
"
|
|
checkdepends="
|
|
bc
|
|
coreutils-fmt
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://nickle.org/release/nickle-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-muon \
|
|
output .
|
|
ninja -C output
|
|
}
|
|
|
|
check() {
|
|
muon -C output test -j "${JOBS:-0}" -R -d dots
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" muon -C output install
|
|
|
|
install -Dvm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
e60fa993b0c4d732106fcddfd7139c32bbf8bb443f8032c1344ea668fa0ee3cec1852c9dc674791ddf31220f38da6093d7f7a444341baf107592aef42bd8b9b0 nickle-2.103.tar.xz
|
|
"
|