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

Antonio Rojas arojas at archlinux.org
Thu Nov 5 15:50:58 UTC 2020


    Date: Thursday, November 5, 2020 @ 15:50:58
  Author: arojas
Revision: 399530

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

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

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 15:50:45 UTC (rev 399529)
+++ PKGBUILD	2020-11-05 15:50:58 UTC (rev 399530)
@@ -1,73 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=qt6-doc
-pkgname=(qt6-doc qt6-examples)
-_qtver=6.0.0-beta2
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('any')
-url='https://www.qt.io'
-license=(GPL3 LGPL3 FDL custom)
-makedepends=(mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
-             gtk3 libpulse cups freetds vulkan-headers qt6-tools clang python llvm)
-groups=(qt6)
-_pkgfn="qt-everywhere-src-${_qtver}"
-source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfn}.tar.xz")
-sha256sums=('9c4cc2fb781d682e86d8b3754a18a4d8969e02fa8509da31e5343065ead5fbd5')
-
-prepare() {
-  mkdir -p $_pkgfn/{qtbase,qttools}/bin
-  ln -s /usr/lib/qt6/bin/{uic,rcc} $_pkgfn/qtbase/bin
-  ln -s /usr/lib/qt6/bin/{qtattributionsscanner,qdoc,qhelpgenerator} $_pkgfn/qttools/bin
-}
-
-build() {
-# Use qmake, see https://bugreports.qt.io/browse/QTBUG-87382
-  cd $_pkgfn
-  ./configure -confirm-license -opensource \
-    -prefix /usr \
-    -docdir /usr/share/doc/qt6 \
-    -headerdir /usr/include/qt6 \
-    -archdatadir /usr/lib/qt6 \
-    -datadir /usr/share/qt6 \
-    -bindir /usr/lib/qt6/bin \
-    -sysconfdir /etc/xdg \
-    -nomake examples
-  export PATH="/usr/lib/qt6/bin:$PATH"
-  make docs
-}
-
-package_qt6-doc() {
-  pkgdesc='A cross-platform application and UI framework (Documentation)'
-  cd $_pkgfn
-  INSTALL_ROOT="$pkgdir" make install_docs
-
-  install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
-}
-
-package_qt6-examples() {
-  pkgdesc='Examples and demos from qt6 documentation'
-  depends=('qt6-doc')
-
-  _base="$pkgdir"/usr/share/doc/qt6/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 ${_pkgfn}/qtbase/examples/examples.pro $_base
-
-  _fdirs=$(find "${_pkgfn}" -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: qt6-doc/repos/kde-unstable-any/PKGBUILD (from rev 399529, qt6-doc/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-05 15:50:58 UTC (rev 399530)
@@ -0,0 +1,73 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=qt6-doc
+pkgname=(qt6-doc qt6-examples)
+_qtver=6.0.0-beta3
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+makedepends=(mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
+             gtk3 libpulse cups freetds vulkan-headers qt6-tools clang python llvm)
+groups=(qt6)
+_pkgfn="qt-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfn}.tar.xz")
+sha256sums=('d5a2be779b8aa2374f454f81a0c2064f7306bfd4b6d8f79cae7faadc08ba4e5a')
+
+prepare() {
+  mkdir -p $_pkgfn/{qtbase,qttools}/bin
+  ln -s /usr/lib/qt6/bin/{uic,rcc} $_pkgfn/qtbase/bin
+  ln -s /usr/lib/qt6/bin/{qtattributionsscanner,qdoc,qhelpgenerator} $_pkgfn/qttools/bin
+}
+
+build() {
+# Use qmake, see https://bugreports.qt.io/browse/QTBUG-87382
+  cd $_pkgfn
+  ./configure -confirm-license -opensource \
+    -prefix /usr \
+    -docdir /usr/share/doc/qt6 \
+    -headerdir /usr/include/qt6 \
+    -archdatadir /usr/lib/qt6 \
+    -datadir /usr/share/qt6 \
+    -bindir /usr/lib/qt6/bin \
+    -sysconfdir /etc/xdg \
+    -nomake examples
+  export PATH="/usr/lib/qt6/bin:$PATH"
+  make docs
+}
+
+package_qt6-doc() {
+  pkgdesc='A cross-platform application and UI framework (Documentation)'
+  cd $_pkgfn
+  INSTALL_ROOT="$pkgdir" make install_docs
+
+  install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
+}
+
+package_qt6-examples() {
+  pkgdesc='Examples and demos from qt6 documentation'
+  depends=('qt6-doc')
+
+  _base="$pkgdir"/usr/share/doc/qt6/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 ${_pkgfn}/qtbase/examples/examples.pro $_base
+
+  _fdirs=$(find "${_pkgfn}" -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