mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
754 B
Bash
28 lines
754 B
Bash
pkgname=muparser
|
|
pkgver=2.25
|
|
_pkgver=2.2.5
|
|
pkgrel=1
|
|
pkgdesc="An extensible high performance math expression parser library written in C++"
|
|
arch=('x86_64')
|
|
url="http://muparser.beltoforion.de/"
|
|
depends=('gcc-libs')
|
|
makedepends=('unzip')
|
|
license=('custom')
|
|
options=('!makeflags')
|
|
source=("https://github.com/beltoforion/muparser/archive/v${_pkgver}.tar.gz")
|
|
sha512sums=('d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682')
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}-${_pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${pkgname}-${_pkgver}
|
|
|
|
make DESTDIR=$pkgdir install
|
|
# license
|
|
install -D -m644 License.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE
|
|
} |