diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template index bfd8712e7af..8d170535e89 100644 --- a/srcpkgs/qt5/template +++ b/srcpkgs/qt5/template @@ -1,7 +1,7 @@ # Template file for 'qt5' pkgname=qt5 version=5.11.3 -revision=7 +revision=8 wrksrc="qt-everywhere-src-${version}" build_style=gnu-configure hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config @@ -1055,7 +1055,7 @@ qt5-host-tools_package() { if [ -f ${DESTDIR}/usr/lib/qt5/bin/${f} ]; then vmove usr/lib/qt5/bin/${f} fi - if [ -f ${DESTDIR}/usr/bin/${f}-qt5 ]; then + if [ -f ${DESTDIR}/usr/bin/${f}-qt5 ] || [ -h ${DESTDIR}/usr/bin/${f}-qt5 ]; then vmove usr/bin/${f}-qt5 else ln -sf ../lib/qt5/bin/${f} ${PKGDESTDIR}/usr/bin/${f}-qt5 @@ -1104,7 +1104,7 @@ qt5-tools_package() { mkdir -p ${dest}/usr/lib/qt5/bin mv -v ${PKGDESTDIR}/usr/lib/qt5/bin/${f} ${dest}/usr/lib/qt5/bin/ fi - if [ -f ${PKGDESTDIR}/usr/bin/${f}-qt5 ]; then + if [ -f ${PKGDESTDIR}/usr/bin/${f}-qt5 ] || [ -h ${PKGDESTDIR}/usr/bin/${f}-qt5 ]; then mkdir -p ${dest}/usr/bin mv -v ${PKGDESTDIR}/usr/bin/${f}-qt5 ${dest}/usr/bin/ fi