[arch-commits] Commit in libixion/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 6 19:06:20 UTC 2020


    Date: Sunday, December 6, 2020 @ 19:06:19
  Author: foutrelis
Revision: 402983

archrelease: copy trunk to staging-x86_64

Added:
  libixion/repos/staging-x86_64/
  libixion/repos/staging-x86_64/PKGBUILD
    (from rev 402982, libixion/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: libixion/repos/staging-x86_64/PKGBUILD (from rev 402982, libixion/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-12-06 19:06:19 UTC (rev 402983)
@@ -0,0 +1,35 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kusakata <shohei atmark kusakata period com>
+
+pkgname=libixion
+pkgver=0.16.1
+pkgrel=4
+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=('426c643b3c346d546027c0226619abb2e59848e94470b9b5aa6365e26125089f')
+
+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"
+}



More information about the arch-commits mailing list