OCaml 4.14.0 rebuild
[arch-packages.git] / muparser / trunk / PKGBUILD
blob204d120d89afdc5435adada3b7191f2f096d23ef
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: damir <damir.archlinux.org>
4 pkgname=muparser
5 pkgver=2.3.3
6 pkgrel=1
7 pkgdesc="A fast math parser library"
8 arch=('x86_64')
9 url="http://muparser.sourceforge.net/"
10 depends=('gcc-libs')
11 makedepends=('cmake')
12 license=('custom')
13 options=('!makeflags')
14 source=(https://github.com/beltoforion/muparser/archive/v$pkgver-1/$pkgname-$pkgver.tar.gz)
15 sha512sums=('f7e01c83f6ffe71e240653c47fdb8f3152d7fdf61b5997a3c717dec50d0175065c4fc4241ec95fb35b60b968c5c965a820009163ebe84f0fa57d64b3a23226b4')
17 build() {
18   cmake -B build -S $pkgname-$pkgver-1 \
19     -DCMAKE_INSTALL_PREFIX=/usr
20   cmake --build build
23 package() {
24   DESTDIR="$pkgdir" cmake --install build
25   install -D -m644 $pkgname-$pkgver-1/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname