Merge pull request #21 from xantares/patch-2

Fix path to executable in cmake config file
This commit is contained in:
Martchus 2017-02-24 21:29:03 +01:00 committed by GitHub
commit e7dbef1863
1 changed files with 3 additions and 0 deletions

View File

@ -109,5 +109,8 @@ package() {
for exe_file in "${pkgdir}/usr/${_arch}/bin/"*.exe; do
[[ -f $exe_file ]] && mv "${exe_file}" "${exe_file%.exe}-qt5.exe"
done
# Fix the path to executables in cmake config files
sed -i "s|lib/qt/bin/qcollectiongenerator|bin/qcollectiongenerator-qt5.exe|g" "${pkgdir}"/usr/${_arch}/lib/cmake/Qt5Help/Qt5HelpConfigExtras.cmake
sed -i "s|lib/qt/bin/qhelpgenerator|bin/qhelpgenerator-qt5.exe|g" "${pkgdir}"/usr/${_arch}/lib/cmake/Qt5Help/Qt5HelpConfigExtras.cmake
done
}