blob: 86be53a3a757e95ad6dd9f1e001927f481450b14 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=muparser
pkgver=2.3.4
pkgrel=0
pkgdesc="Fast math parser library"
url="https://beltoforion.de/article.php?a=muparser"
arch="all"
options="!check" # No test suite.
license="MIT"
depends=""
makedepends="cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/beltoforion/$pkgname/archive/v$pkgver.tar.gz"
build() {
cmake \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_VERBOSE_MAKEFILE=ON \
$cmake_opts \
-Bbuild
make -C build
}
package() {
make DESTDIR="$pkgdir" -C build install
}
sha512sums="5226fd666eaf3ff7e661bbf72e60114d0ceed10491ffa4ed2dd34cd669c6c21c037eff0388402d6b9d60b0a5a27b03ca35153e0c048328abc75dfd1eaf38ceca muparser-2.3.4.tar.gz"
|