extra/boost to 1.80.0-2

This commit is contained in:
Kevin Mihelich 2022-09-19 23:50:57 +00:00
parent 92b467486d
commit 4c6d237bcc

View file

@ -14,7 +14,7 @@
pkgname=('boost' 'boost-libs')
pkgver=1.80.0
pkgrel=1
pkgrel=2
_srcname=boost_${pkgver//./_}
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('x86_64')
@ -82,6 +82,11 @@ package_boost() {
cp -a fakeinstall/lib/cmake "$pkgdir"/usr/lib/
cp -a fakeinstall/{bin,include,share} "$pkgdir"/usr/
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
for _lib in python numpy; do
ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{10,}.so
done
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
}
@ -115,11 +120,6 @@ package_boost-libs() {
cp fakeinstall/lib/boost-python3.10/mpi.so \
"$pkgdir"/usr/lib/python3.10/site-packages/boost/mpi.so
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
for _lib in python numpy; do
ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{10,}.so
done
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
}