git » qt5-script.git » commit 8c74ecb

Fix cmake dependency version (FS#71326)

author Antonio Rojas
2021-06-21 20:35:06 UTC
committer Antonio Rojas
2021-06-21 20:35:06 UTC
parent e4e2f599ded267d7cd292088bdef8398f1237eeb

Fix cmake dependency version (FS#71326)

PKGBUILD +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index 2e13534..dc8cdc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=qt5-script
 _qtver=5.15.5
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -37,4 +37,7 @@ package() {
 
   install -d "$pkgdir"/usr/share/licenses
   ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+
+  # Fix cmake dependency versions
+  sed -e "s|$pkgver\ |5.15.2 |" -i "$pkgdir"/usr/lib/cmake/*/*Config.cmake
 }