[arch-commits] Commit in qt4/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Sun Feb 24 11:40:51 UTC 2013


    Date: Sunday, February 24, 2013 @ 12:40:51
  Author: andrea
Revision: 178481

symlink qmake to qmake4 so cmake finds Qt4 when both qt4 and qt5 are installed

Modified:
  qt4/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-24 11:35:45 UTC (rev 178480)
+++ PKGBUILD	2013-02-24 11:40:51 UTC (rev 178481)
@@ -4,7 +4,7 @@
 
 pkgname=qt4
 pkgver=4.8.4
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL')
@@ -95,6 +95,9 @@
     # install the profile
     install -D -m755 "${srcdir}"/qt4.profile "${pkgdir}"/etc/profile.d/qt4.sh
 
+    # symlink qmake to qmake4 so cmake finds Qt4 when both qt4 and qt5 are installed
+    ln -sf /usr/lib/qt4/bin/qmake "${pkgdir}"/usr/lib/qt4/bin/qmake4
+
     # install license addition
     install -D -m644 LGPL_EXCEPTION.txt \
       ${pkgdir}/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt




More information about the arch-commits mailing list