[arch-commits] Commit in boost/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Jun 6 01:31:49 UTC 2018


    Date: Wednesday, June 6, 2018 @ 01:31:49
  Author: foutrelis
Revision: 325980

upgpkg: boost 1.67.0-4

Also fix "-lboost_numpy" and "-lboost_numpy3" by providing
compatibility symlinks with the old library names.

Modified:
  boost/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-05 21:53:39 UTC (rev 325979)
+++ PKGBUILD	2018-06-06 01:31:49 UTC (rev 325980)
@@ -11,7 +11,7 @@
 pkgname=('boost-libs' 'boost')
 pkgver=1.67.0
 _boostver=${pkgver//./_}
-pkgrel=3
+pkgrel=4
 url='http://www.boost.org/'
 arch=('x86_64')
 license=('custom')
@@ -135,8 +135,10 @@
    rm "${pkgdir}"/usr/lib/*.a
 
    # https://github.com/boostorg/python/issues/203#issuecomment-391477685
-   ln -srL "${pkgdir}"/usr/lib/libboost_python{27,}.so
-   ln -srL "${pkgdir}"/usr/lib/libboost_python3{6,}.so
+   for _lib in python numpy; do
+     ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}{27,}.so
+     ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{6,}.so
+   done
 
    install -Dm644 "${srcdir}/"${pkgbase}_${_boostver}/LICENSE_1_0.txt \
       "${pkgdir}"/usr/share/licenses/boost-libs/LICENSE_1_0.txt



More information about the arch-commits mailing list