[arch-commits] Commit in qt5-doc/repos (kde-unstable-any kde-unstable-any/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Mar 1 20:53:56 UTC 2018


    Date: Thursday, March 1, 2018 @ 20:53:55
  Author: arojas
Revision: 317735

archrelease: copy kde-unstable to kde-unstable-any

Added:
  qt5-doc/repos/kde-unstable-any/
  qt5-doc/repos/kde-unstable-any/PKGBUILD
    (from rev 317734, qt5-doc/kde-unstable/PKGBUILD)

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

Copied: qt5-doc/repos/kde-unstable-any/PKGBUILD (from rev 317734, qt5-doc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2018-03-01 20:53:55 UTC (rev 317735)
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=qt5-doc
+_qtver=5.11.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework (Documentation)'
+depends=('qt5-base')
+makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
+             'gperf' 'nss' 'clang')
+groups=('qt' 'qt5')
+_pkgfqn="qt-everywhere-src-${_qtver}"
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
+sha256sums=('4884a2a122da603343f5066147be7be32a9cadc7daa017980bf47731d15699b5')
+
+prepare() {
+  cd ${_pkgfqn}
+  cd qtbase
+   bin/syncqt.pl -version ${_qtver%-*}
+  cd ..
+
+  ln -s /usr/bin qttools/
+  ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
+
+  # Hack to force using python2
+  cd "$srcdir"
+  mkdir -p bin
+  ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  export PATH="$srcdir/bin:$PATH"
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
+    -prefix /usr \
+    -docdir /usr/share/doc/qt \
+    -headerdir /usr/include/qt \
+    -archdatadir /usr/lib/qt \
+    -datadir /usr/share/qt \
+    -sysconfdir /etc/xdg \
+    -examplesdir /usr/share/doc/qt/examples
+  make docs
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="$pkgdir" install_docs
+
+  install -d "$pkgdir"/usr/share/licenses
+  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
+}



More information about the arch-commits mailing list