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-1/$pkgname-$pkgver.tar.gz)
15 sha512sums=('f7e01c83f6ffe71e240653c47fdb8f3152d7fdf61b5997a3c717dec50d0175065c4fc4241ec95fb35b60b968c5c965a820009163ebe84f0fa57d64b3a23226b4')
18 cmake -B build -S $pkgname-$pkgver-1 \
19 -DCMAKE_INSTALL_PREFIX=/usr
24 DESTDIR="$pkgdir" cmake --install build
25 install -D -m644 $pkgname-$pkgver-1/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname