summaryrefslogtreecommitdiff
path: root/extra/muparser/PKGBUILD
blob: 0ee617c878afdd889ac6aed4a3e2474b4bac467d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 143909 2011-11-30 20:28:47Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir.archlinux.org>

pkgname=muparser
pkgver=1.34
pkgrel=2
pkgdesc="A fast math parser library"
arch=('i686' 'x86_64')
url="http://muparser.sourceforge.net/"
depends=('gcc-libs')
license=('custom')
options=('!makeflags')
source=("http://downloads.sourceforge.net/$pkgname/${pkgname}_v134.tar.gz")
md5sums=('0c4f4bf86aa2a5a737adc0e08cb77737')

build() {
  cd $srcdir/${pkgname}_v134
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/${pkgname}_v134
  make DESTDIR=$pkgdir install

  # license
  install -D -m644 License.txt \
	$pkgdir/usr/share/licenses/${pkgname}/LICENSE
}