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

Antonio Rojas arojas at archlinux.org
Thu Oct 24 19:37:33 UTC 2019


    Date: Thursday, October 24, 2019 @ 19:37:32
  Author: arojas
Revision: 365460

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

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

----------+
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-24 19:37:17 UTC (rev 365459)
+++ PKGBUILD	2019-10-24 19:37:32 UTC (rev 365460)
@@ -1,77 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Michael Hansen <zrax0111 gmail com>
-
-pkgbase=qt5-doc
-pkgname=(qt5-doc qt5-examples)
-_qtver=5.14.0-beta1
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('any')
-url='https://www.qt.io'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-makedepends=('qt5-tools' 'python2' 'python' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
-             'gperf' 'nss' 'clang')
-groups=('qt' 'qt5')
-_pkgfqn="qt-everywhere-src-${_qtver}"
-source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
-sha256sums=('f07cfc26762244bd343190b1b2e8b22708196f017024d6ab59f7fe1c8432f6b3')
-
-prepare() {
-  cd ${_pkgfqn}
-
-  ln -s /usr/bin qttools/
-  ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
-
-  sed -e 's|QMAKE_PYTHON2 = python|QMAKE_PYTHON2 = python2|' -i qtwebengine/mkspecs/features/functions.prf # Use python2
-}
-
-build() {
-  cd ${_pkgfqn}
-
-  QMAKE_PYTHON2=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 \
-    -nomake examples
-  make docs
-}
-
-package_qt5-doc() {
-  pkgdesc='A cross-platform application and UI framework (Documentation)'
-  depends=('qt5-base')
-
-  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}
-}
-
-package_qt5-examples() {
-  pkgdesc='Examples and demos from qt5 documentation'
-  depends=('qt5-doc')
-
-  _base="$pkgdir"/usr/share/doc/qt/examples
-
-  # The various example dirs have conflicting .pro files, but
-  # QtCreator requires them to be in the same top-level directory.
-  # Matching the Qt5 installer, only the qtbase project is kept.
-  mkdir -p $_base
-  cp ${_pkgfqn}/qtbase/examples/examples.pro $_base
-
-  _fdirs=$(find "${_pkgfqn}" -maxdepth 2 -type d -name examples)
-  for _dir in $_fdirs; do
-      _mod=$(basename ${_dir%/examples})
-
-      if [ -e "$_dir/README" ]; then
-        cp $_dir/README $_dir/README.$_mod
-      fi
-
-#     mkdir $_base/$_mod
-      cp -rn $_dir/* $_base
-  done
-}

Copied: qt5-doc/repos/kde-unstable-any/PKGBUILD (from rev 365459, qt5-doc/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-24 19:37:32 UTC (rev 365460)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgbase=qt5-doc
+pkgname=(qt5-doc qt5-examples)
+_qtver=5.14.0-beta2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+makedepends=('qt5-tools' 'python2' 'python' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
+             'gperf' 'nss' 'clang')
+groups=('qt' 'qt5')
+_pkgfqn="qt-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
+sha256sums=('4e6b3eb4e93e9d96ab1d39aaf7d6a28164aec346f28571bf602c81d4279c15a4')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  ln -s /usr/bin qttools/
+  ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
+
+  sed -e 's|QMAKE_PYTHON2 = python|QMAKE_PYTHON2 = python2|' -i qtwebengine/mkspecs/features/functions.prf # Use python2
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  QMAKE_PYTHON2=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 \
+    -nomake examples
+  make docs
+}
+
+package_qt5-doc() {
+  pkgdesc='A cross-platform application and UI framework (Documentation)'
+  depends=('qt5-base')
+
+  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}
+}
+
+package_qt5-examples() {
+  pkgdesc='Examples and demos from qt5 documentation'
+  depends=('qt5-doc')
+
+  _base="$pkgdir"/usr/share/doc/qt/examples
+
+  # The various example dirs have conflicting .pro files, but
+  # QtCreator requires them to be in the same top-level directory.
+  # Matching the Qt5 installer, only the qtbase project is kept.
+  mkdir -p $_base
+  cp ${_pkgfqn}/qtbase/examples/examples.pro $_base
+
+  _fdirs=$(find "${_pkgfqn}" -maxdepth 2 -type d -name examples)
+  for _dir in $_fdirs; do
+      _mod=$(basename ${_dir%/examples})
+
+      if [ -e "$_dir/README" ]; then
+        cp $_dir/README $_dir/README.$_mod
+      fi
+
+#     mkdir $_base/$_mod
+      cp -rn $_dir/* $_base
+  done
+}



More information about the arch-commits mailing list