aports/testing/symengine/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

29 lines
829 B
Text

# Contributor: Liam Hurwitz <lgh@e.email>
# Maintainer: Liam Hurwitz <lgh@e.email>
pkgname=symengine
pkgver=0.12.0
pkgrel=0
pkgdesc="SymEngine is a fast symbolic manipulation library, written in C++, with bindings for several programming languages."
url="https://symengine.org/"
arch="all"
license="MIT"
depends="gmp-dev"
makedepends="cmake samurai"
source="$pkgname-$pkgver.tar.gz::https://github.com/symengine/symengine/archive/v$pkgver.tar.gz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf symengine-0.12.0.tar.gz"