1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: damir <damir.archlinux.org>
7 pkgdesc="A fast math parser library"
9 url="http://muparser.sourceforge.net/"
13 options=('!makeflags')
14 source=(https://github.com/beltoforion/muparser/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
15 sha512sums=('5226fd666eaf3ff7e661bbf72e60114d0ceed10491ffa4ed2dd34cd669c6c21c037eff0388402d6b9d60b0a5a27b03ca35153e0c048328abc75dfd1eaf38ceca')
18 cmake -B build -S $pkgname-$pkgver \
19 -DCMAKE_INSTALL_PREFIX=/usr
24 DESTDIR="$pkgdir" cmake --install build
25 install -D -m644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname