[arch-commits] Commit in qt5-base/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 1 07:54:34 UTC 2016
Date: Saturday, October 1, 2016 @ 07:54:33
Author: arojas
Revision: 277479
Install binaries to the standard location
Modified:
qt5-base/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-01 03:37:51 UTC (rev 277478)
+++ PKGBUILD 2016-10-01 07:54:33 UTC (rev 277479)
@@ -5,7 +5,7 @@
pkgname=qt5-base
_qtver=5.7.0
pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -12,7 +12,7 @@
pkgdesc='A cross-platform application and UI framework'
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
- 'qtchooser' 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy')
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy')
makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
'gtk3' 'libpulse' 'cups' 'freetds')
optdepends=('qt5-svg: to use SVG icon themes'
@@ -23,6 +23,7 @@
'freetds: MS SQL driver'
'mtdev: evdev plugin'
'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
groups=('qt' 'qt5')
_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
@@ -72,7 +73,6 @@
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
-prefix /usr \
- -bindir /usr/lib/qt/bin \
-docdir /usr/share/doc/qt \
-headerdir /usr/include/qt \
-archdatadir /usr/lib/qt \
@@ -109,9 +109,8 @@
sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
- # Useful symlinks
- install -d "${pkgdir}"/usr/bin
- for b in "${pkgdir}"/usr/lib/qt/bin/*; do
- ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+ # Symlinks for backwards compatibility
+ for b in "${pkgdir}"/usr/bin/*; do
+ ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
done
}
More information about the arch-commits
mailing list