# $Id: PKGBUILD 11729 2008-09-01 22:18:15Z ronald $ # Maintainer: Ronald van Haren # Contributor: damir pkgname=muparser pkgver=1.30 pkgrel=1 pkgdesc="a fast math parser library" arch=('i686' 'x86_64') url="http://muparser.sourceforge.net/" depends=('glibc' 'gcc-libs') license=('custom') source=(http://downloads.sourceforge.net/$pkgname/muparser_v130.tar.gz) md5sums=('f6b4d79aa0f762fd4bfeb38f47cf1d15') build() { cd $srcdir/$pkgname ./configure --prefix=/usr sed -i 's|$(libdir)/pkgconfig|$(DESTDIR)$(libdir)/pkgconfig|g' Makefile make || return 1 make DESTDIR=$pkgdir install # license install -D -m644 License.txt \ $pkgdir/usr/share/licenses/${pkgname}/License }