diff --git a/srcpkgs/qt5-doc/template b/srcpkgs/qt5-doc/template index 0e5609d405..dede1aba84 100644 --- a/srcpkgs/qt5-doc/template +++ b/srcpkgs/qt5-doc/template @@ -1,8 +1,8 @@ # Template file for 'qt5-doc' pkgname=qt5-doc -version=5.8.0 +version=5.10.1 revision=1 -wrksrc="qt-everywhere-opensource-src-${version}" +wrksrc="qt-everywhere-src-${version}" hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-host-tools qt5-plugin-sqlite qt5-declarative qt5-devel libxcb-devel" makedepends="libxcb-devel qt5-devel qt5-tools-devel" @@ -11,18 +11,14 @@ homepage="http://qt.io/" short_desc="A cross-platform application and UI framework (QT5) - Documentation" maintainer="Juan RP " license="GPL-3, LGPL-2.1" -distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-opensource-src-${version}.tar.xz" -checksum=0f4c54386d3dbac0606a936a7145cebb7b94b0ca2d29bc001ea49642984824b6 +distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz" +checksum=05ffba7b811b854ed558abf2be2ddbd3bb6ddd0b60ea4b5da75d277ac15e740a post_extract() { - # The file /usr/include/qt5/QtCore/qconfig.h is expected - # to reside in src/corelib/global/qconfig.h as well - ln -s /usr/include/qt5/QtCore/qconfig.h ${wrksrc}/qtbase/src/corelib/global/ + rm -rf qttools/{bin,plugins} # Tools are expected to be found in qttools/bin - rm -rf qttools/bin ln -sf /usr/lib/qt5/bin qttools/ # Plugins are expected to be found in qttools/plugins - rm -rf qttools/plugins ln -sf /usr/lib/qt5/plugins qttools/ } do_build() {