mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
733 B
Bash
27 lines
733 B
Bash
# $Id: PKGBUILD 11729 2008-09-01 22:18:15Z ronald $
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
# Contributor: damir <damir.archlinux.org>
|
|
|
|
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
|
|
}
|
|
|