Date: Wednesday, February 2, 2022 @ 16:15:02 Author: andyrtr Revision: 435819
archrelease: copy trunk to staging-x86_64 Added: libixion/repos/staging-x86_64/ libixion/repos/staging-x86_64/PKGBUILD (from rev 435818, libixion/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: libixion/repos/staging-x86_64/PKGBUILD (from rev 435818, libixion/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2022-02-02 16:15:02 UTC (rev 435819) @@ -0,0 +1,35 @@ +# Maintainer: AndyRTR <andy...@archlinux.org> +# Contributor: kusakata <shohei atmark kusakata period com> + +pkgname=libixion +pkgver=0.17.0 +pkgrel=1 +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' 'spdlog') +source=("https://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz") +# https://gitlab.com/ixion/ixion/-/releases +sha256sums=('53c97139223f3b786d498f86512a20ee878fab0ef981947647aa116df7c4101e') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --disable-static +# sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # doesn't fix it + 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" +}