Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
soplex


Commits:
4fb25866 by Antonio Rojas at 2026-02-04T09:14:09+01:00
upgpkg: 8.0.1-3: Drop static libraries completely

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = soplex
        pkgdesc = Sequential object-oriented simPlex
        pkgver = 8.0.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://www.scipopt.org/
        arch = x86_64
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=soplex
 pkgver=8.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Sequential object-oriented simPlex'
 arch=(x86_64)
 url='https://www.scipopt.org/'
@@ -35,6 +35,8 @@ build() {
 package() {
   DESTDIR="$pkgdir" cmake --install build
 
-# Use shared library by default
-  sed -e 's|SOPLEX_LIBRARIES libsoplex|SOPLEX_LIBRARIES libsoplexshared|' -i 
"$pkgdir"/usr/lib/cmake/soplex/soplex-config.cmake
+# Replace static libraries with symlinks to shared library
+  rm "$pkgdir"/usr/lib/*.a
+  ln -s libsoplexshared.so "$pkgdir"/usr/lib/libsoplex.so
+  ln -s libsoplexshared.so "$pkgdir"/usr/lib/libsoplex-pic.so
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/soplex/-/commit/4fb258664ba3306ede65e9eb160d5d3aa5038c1d

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


Reply via email to