[arch-commits] Commit in qt4/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 14:28:24 UTC 2013
Date: Tuesday, February 26, 2013 @ 15:28:24
Author: andrea
Revision: 178724
Ship some useful symlink
Modified:
qt4/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 12:45:54 UTC (rev 178723)
+++ PKGBUILD 2013-02-26 14:28:24 UTC (rev 178724)
@@ -4,7 +4,7 @@
pkgname=qt4
pkgver=4.8.4
-pkgrel=8
+pkgrel=9
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL')
@@ -91,8 +91,12 @@
# 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
+ # Useful symlinks for cmake and configure scripts
+ install -d "${pkgdir}"/usr/bin
+ ln -s /usr/lib/qt4/bin/qmake "${pkgdir}"/usr/bin/qmake4
+ ln -s /usr/lib/qt4/bin/moc "${pkgdir}"/usr/bin/moc-qt4
+ ln -s /usr/lib/qt4/bin/uic "${pkgdir}"/usr/bin/uic-qt4
+ ln -s /usr/lib/qt4/bin/rcc "${pkgdir}"/usr/bin/rcc-qt4
# install license addition
install -D -m644 LGPL_EXCEPTION.txt \
More information about the arch-commits
mailing list