[arch-commits] Commit in mysql-workbench/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Aug 10 14:51:28 UTC 2018
Date: Friday, August 10, 2018 @ 14:51:28
Author: eworm
Revision: 370913
upgpkg: mysql-workbench 8.0.12-3
* build with C++14
* drop libssh_threads.so, which is not used
Modified:
mysql-workbench/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-10 14:29:04 UTC (rev 370912)
+++ PKGBUILD 2018-08-10 14:51:28 UTC (rev 370913)
@@ -7,7 +7,7 @@
pkgname=mysql-workbench
pkgver=8.0.12
-pkgrel=2
+pkgrel=3
_mysql_version=8.0.12
_connector_version=8.0.12
_gdal_version=2.3.1
@@ -154,7 +154,7 @@
cmake "${srcdir}/mysql-workbench-community-${pkgver}-src" \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_CXX_FLAGS="-std=c++11" \
+ -DCMAKE_CXX_FLAGS="-std=c++14" \
-DCMAKE_BUILD_TYPE=Release \
-DMySQL_CONFIG_PATH="${srcdir}/install-bundle/usr/bin/mysql_config" \
-DMySQLCppConn_LIBRARY="${srcdir}/install-bundle/usr/lib/libmysqlcppconn.so" \
@@ -171,10 +171,10 @@
package() {
# install bundled libraries files and files
- for LIBRARY in $(find "${srcdir}/install-bundle/usr/lib/" -type f -regex '.*/lib\(gdal\|mysql\(client\|cppconn\)\|ssh\(\|_threads\)\)\.so\..*'); do
+ for LIBRARY in $(find "${srcdir}/install-bundle/usr/lib/" -type f -regex '.*/lib\(gdal\|mysql\(client\|cppconn\)\|ssh\)\.so\..*'); do
install -D -m0755 "${LIBRARY}" "${pkgdir}"/usr/lib/mysql-workbench/"$(basename "${LIBRARY}")"
done
- for SYMLINK in $(find "${srcdir}/install-bundle/usr/lib/" -type l -regex '.*/lib\(gdal\|mysql\(client\|cppconn\)\|ssh\(\|_threads\)\)\.so\..*'); do
+ for SYMLINK in $(find "${srcdir}/install-bundle/usr/lib/" -type l -regex '.*/lib\(gdal\|mysql\(client\|cppconn\)\|ssh\)\.so\..*'); do
ln -s "$(readlink "${SYMLINK}")" "${pkgdir}"/usr/lib/mysql-workbench/"$(basename "${SYMLINK}")"
done
install -m0755 "${srcdir}/install-bundle/usr/bin/mysql"{,dump} "${pkgdir}"/usr/lib/mysql-workbench/
More information about the arch-commits
mailing list