cgal: Update to 4.12
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
_realname=cgal
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=4.11
|
||||
pkgver=4.12
|
||||
pkgrel=1
|
||||
pkgdesc="Computational Geometry Algorithms Library (mingw-w64)"
|
||||
arch=('any')
|
||||
@@ -24,7 +24,7 @@ optdepends=("${MINGW_PACKAGE_PREFIX}-eigen3: for some packages, see the CGAL man
|
||||
options=('strip' 'staticlibs')
|
||||
source=(https://github.com/CGAL/cgal/releases/download/releases/CGAL-${pkgver}/CGAL-${pkgver}.tar.xz
|
||||
msys2-relocate-cmake-config.patch)
|
||||
sha256sums=('27a7762e5430f5392a1fe12a3a4abdfe667605c40224de1c6599f49d66cfbdd2'
|
||||
sha256sums=('442ef4fffb2ad6e4141e5a7902993ae6a4e73f7cb641fae1010bb586f6ca5e3f'
|
||||
'e4dc11a835f94d6b6b70e548a321dc6b1cf793e9d7417bb6cdb61c9b49e64d86')
|
||||
|
||||
prepare() {
|
||||
@@ -51,6 +51,6 @@ package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make DESTDIR=${pkgdir} install
|
||||
local MINGW_PREFIX_WIN=$(cygpath -am ${MINGW_PREFIX})
|
||||
sed -s "s|${MINGW_PREFIX_WIN}|\${RELOCATED_INSTALL_PREFIX}|g" -i "${pkgdir}"${MINGW_PREFIX}/lib/CGAL/CGALConfig.cmake
|
||||
sed -s "s|${MINGW_PREFIX}|\${RELOCATED_INSTALL_PREFIX}|g" -i "${pkgdir}"${MINGW_PREFIX}/lib/CGAL/CGALConfig.cmake
|
||||
sed -s "s|${MINGW_PREFIX_WIN}|\${RELOCATED_INSTALL_PREFIX}|g" -i "${pkgdir}"${MINGW_PREFIX}/lib/cmake/CGAL/CGALConfig.cmake
|
||||
sed -s "s|${MINGW_PREFIX}|\${RELOCATED_INSTALL_PREFIX}|g" -i "${pkgdir}"${MINGW_PREFIX}/lib/cmake/CGAL/CGALConfig.cmake
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user