Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
libixion


Commits:
8b6a2bae by Andreas Radke at 2025-02-18T18:09:02+01:00
upgpkg: 0.20.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = libixion
        pkgdesc = A general purpose formula parser & interpreter
-       pkgver = 0.19.0
-       pkgrel = 7
-       url = https://gitlab.com/ixion/ixion/blob/master/README.md
+       pkgver = 0.20.0
+       pkgrel = 1
+       url = https://gitlab.com/ixion/ixion
        arch = x86_64
-       license = custom
+       license = MPL-2.0
        makedepends = boost
        makedepends = mdds
        makedepends = spdlog
@@ -12,9 +12,7 @@ pkgbase = libixion
        depends = python
        depends = gcc-libs
        depends = glibc
-       source = https://kohei.us/files/ixion/src/libixion-0.19.0.tar.xz
-       source = https://gitlab.com/ixion/ixion/-/commit/7b1df6fc.patch
-       sha256sums = 
b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15
-       sha256sums = 
2252cee824721c9b9ad46989f98c6d7d192d01635f74b0d9dac9072d86e599f2
+       source = 
https://gitlab.com/api/v4/projects/ixion%2Fixion/packages/generic/source/0.20.0/libixion-0.20.0.tar.xz
+       sha256sums = 
8466a05f19f60b7568641a449704666308848f7bcaf8335f92ee9474a451e4cd
 
 pkgname = libixion


=====================================
PKGBUILD
=====================================
@@ -2,30 +2,24 @@
 # Contributor: kusakata <shohei atmark kusakata period com>
 
 pkgname=libixion
-pkgver=0.19.0
-pkgrel=7
+pkgver=0.20.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')
+url="https://gitlab.com/ixion/ixion";
+license=('MPL-2.0')
 depends=('boost-libs' 'python' 'gcc-libs' 'glibc')
 makedepends=('boost' 'mdds' 'spdlog')
-source=("https://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz";
-         https://gitlab.com/ixion/ixion/-/commit/7b1df6fc.patch)
+source=(https://gitlab.com/api/v4/projects/ixion%2Fixion/packages/generic/source/${pkgver}/libixion-${pkgver}.tar.xz)
 # https://gitlab.com/ixion/ixion/-/releases
-sha256sums=('b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15'
-            '2252cee824721c9b9ad46989f98c6d7d192d01635f74b0d9dac9072d86e599f2')
-
-prepare() {
-  # Fix build with -Werror=undef
-  patch -d $pkgname-$pkgver -p1 < 7b1df6fc.patch
-}
+sha256sums=('8466a05f19f60b7568641a449704666308848f7bcaf8335f92ee9474a451e4cd')
 
 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
+  # improves from 5 down to 3 times Unused shared library
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
@@ -37,6 +31,4 @@ check() {
 package() {
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
-  # LICENSE file is missing in tarball
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libixion/-/commit/8b6a2bae96aa70185c6dcd51d6b2d85b993a29fa

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libixion/-/commit/8b6a2bae96aa70185c6dcd51d6b2d85b993a29fa
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to