desktop/muparser/PKGBUILD

28 lines
754 B
Bash
Raw Normal View History

pkgname=muparser
2015-08-23 21:48:46 +08:00
pkgver=2.25
_pkgver=2.2.5
pkgrel=1
2013-01-04 04:19:37 +08:00
pkgdesc="An extensible high performance math expression parser library written in C++"
arch=('x86_64')
2015-08-23 21:48:46 +08:00
url="http://muparser.beltoforion.de/"
depends=('gcc-libs')
makedepends=('unzip')
license=('custom')
options=('!makeflags')
2015-08-23 21:48:46 +08:00
source=("https://github.com/beltoforion/muparser/archive/v${_pkgver}.tar.gz")
sha512sums=('d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682')
build() {
2015-08-23 21:48:46 +08:00
cd $srcdir/${pkgname}-${_pkgver}
./configure --prefix=/usr
make
}
package() {
2015-08-23 21:48:46 +08:00
cd $srcdir/${pkgname}-${_pkgver}
make DESTDIR=$pkgdir install
# license
install -D -m644 License.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}