git » qt5-doc.git » commit a0db530

Fix build after binaries move

author Antonio Rojas
2016-10-17 16:09:01 UTC
committer Antonio Rojas
2016-10-17 16:09:01 UTC
parent 4e71504c14b1d8394371b7ebb2b45171dadc3b5d

Fix build after binaries move

PKGBUILD +2 -3

diff --git a/PKGBUILD b/PKGBUILD
index c7228fb..5dc219c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,8 +26,8 @@ prepare() {
     's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
   find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g'
 
-  ln -s /usr/lib/qt/bin qttools/
-  ln -s /usr/lib/qt/bin/{rcc,uic,moc} qtbase/bin/
+  ln -s /usr/bin qttools/
+  ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
 
   # workaround c++11 detection with GCC6
   sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro
@@ -44,7 +44,6 @@ build() {
   export PATH="$srcdir/bin:$PATH"
   PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
     -prefix /usr \
-    -bindir /usr/lib/qt/bin \
     -docdir /usr/share/doc/qt \
     -headerdir /usr/include/qt \
     -archdatadir /usr/lib/qt \