summaryrefslogtreecommitdiff
path: root/extra/muparser/PKGBUILD
blob: 373a656169c0685f1d21f860a433c85b7335985c (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 102419 2010-12-07 19:36:22Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir.archlinux.org>

pkgname=muparser
pkgver=1.34
pkgrel=1
pkgdesc="a fast math parser library"
arch=('i686' 'x86_64' 'mips64el')
url="http://muparser.sourceforge.net/"
depends=('glibc' 'gcc-libs')
license=('custom')
source=(http://downloads.sourceforge.net/$pkgname/muparser_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
}