# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=libixion pkgver=0.14.1 pkgrel=3 pkgdesc="a general purpose formula parser & interpreter" url="https://gitlab.com/ixion/ixion" arch="all" license="MPL-2.0" depends="" depends_dev="" makedepends="$depends_dev boost-dev mdds-dev" install="" subpackages="$pkgname-dev" source="https://kohei.us/files/ixion/src/libixion-$pkgver.tar.xz" builddir="$srcdir/libixion-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-python make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } dev() { default_dev cd "$builddir" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } sha512sums="e4ae6348833d2178c1dc76916937bcc9d7821dc6570fe13093c441ca22e0301a1ca6a4cf85d9814b83534733dba98f4c4a372791f93bc57173317657675b9ae3 libixion-0.14.1.tar.xz"