Date: Tuesday, January 15, 2019 @ 07:18:57 Author: felixonmars Revision: 344110
archrelease: copy trunk to staging-x86_64 Added: libixion/repos/staging-x86_64/ libixion/repos/staging-x86_64/PKGBUILD (from rev 344109, libixion/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: libixion/repos/staging-x86_64/PKGBUILD (from rev 344109, libixion/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-01-15 07:18:57 UTC (rev 344110) @@ -0,0 +1,34 @@ +# Maintainer: AndyRTR <andy...@archlinux.org> +# Contributor: kusakata <shohei atmark kusakata period com> + +pkgname=libixion +pkgver=0.14.1 +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=('6ad1384fcf813083c6d981a16b2643c953f9bac4c2caf1ed1682921d9b69ed91') + +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" +} +