extra/qt5-doc to 5.12.4-1

This commit is contained in:
Kevin Mihelich 2019-06-17 12:36:03 +00:00
parent 81f28a14f3
commit 1ae02059aa

View file

@ -6,7 +6,7 @@
# - skip qtwebengine on v5 # - skip qtwebengine on v5
pkgname=qt5-doc pkgname=qt5-doc
_qtver=5.12.3 _qtver=5.12.4
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
@ -19,7 +19,7 @@ makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr'
groups=('qt' 'qt5') groups=('qt' 'qt5')
_pkgfqn="qt-everywhere-src-${_qtver}" _pkgfqn="qt-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz") source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
sha256sums=('6462ac74c00ff466487d8ef8d0922971aa5b1d5b33c0753308ec9d57711f5a42') sha256sums=('85da5e0ee498759990180d5b8192efaa6060a313c5018b772f57d446bdd425e1')
prepare() { prepare() {
cd ${_pkgfqn} cd ${_pkgfqn}
@ -45,7 +45,7 @@ build() {
-archdatadir /usr/lib/qt \ -archdatadir /usr/lib/qt \
-datadir /usr/share/qt \ -datadir /usr/share/qt \
-sysconfdir /etc/xdg \ -sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples $CONFIG -nomake examples $CONFIG
make docs make docs
} }
@ -55,7 +55,4 @@ package() {
install -d "$pkgdir"/usr/share/licenses install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
# Fix conflicts with qt5-examples
rm -r "$pkgdir"/usr/share/doc/qt/examples
} }