Date: Thursday, May 31, 2018 @ 02:14:14 Author: foutrelis Revision: 325291
archrelease: copy trunk to staging-x86_64 Added: libixion/repos/staging-x86_64/ libixion/repos/staging-x86_64/PKGBUILD (from rev 325290, libixion/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: libixion/repos/staging-x86_64/PKGBUILD (from rev 325290, libixion/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-05-31 02:14:14 UTC (rev 325291) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: AndyRTR <andy...@archlinux.org> +# Contributor: kusakata <shohei atmark kusakata period com> + +pkgname=libixion +pkgver=0.13.0 +pkgrel=2 +pkgdesc="A general purpose formula parser & interpreter" +arch=('x86_64') +url="https://gitlab.com/ixion/ixion/blob/master/README.md" +license=('custom') +depends=('boost-libs' 'python') +makedepends=('boost' 'mdds') +source=("https://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz") +sha256sums=('5ae360c52ba2d17c4abf5ae21fa947f75925459e085acef5972395f77333c7e5') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --disable-static + make +} + +check() { + cd ${pkgname}-${pkgver} + make -k check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + # LICENSE file is missing in tarball + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} +