archrelease: copy trunk to extra-x86_64
[arch-packages.git] / muparser / trunk / PKGBUILD
blobdb1abb549b22dd48ca65d6e146d37f578b45c23c
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: damir <damir.archlinux.org>
4 pkgname=muparser
5 pkgver=2.3.4
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/$pkgname-$pkgver.tar.gz)
15 sha512sums=('5226fd666eaf3ff7e661bbf72e60114d0ceed10491ffa4ed2dd34cd669c6c21c037eff0388402d6b9d60b0a5a27b03ca35153e0c048328abc75dfd1eaf38ceca')
17 build() {
18   cmake -B build -S $pkgname-$pkgver \
19     -DCMAKE_INSTALL_PREFIX=/usr
20   cmake --build build
23 package() {
24   DESTDIR="$pkgdir" cmake --install build
25   install -D -m644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname