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

Antonio Rojas arojas at archlinux.org
Wed May 29 13:40:30 UTC 2019


    Date: Wednesday, May 29, 2019 @ 13:40:29
  Author: arojas
Revision: 354511

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

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

----------+
 PKGBUILD |  111 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 54 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-29 13:39:46 UTC (rev 354510)
+++ PKGBUILD	2019-05-29 13:40:29 UTC (rev 354511)
@@ -1,57 +0,0 @@
-# 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.13.0-beta3
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('any')
-url='https://www.qt.io'
-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=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
-sha256sums=('0118ef63c69bc5265c4310e5ab262242eb8ec7160c54f2e5a619204982b10a9f')
-
-prepare() {
-  cd ${_pkgfqn}
-
-  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
-}

Copied: qt5-doc/repos/kde-unstable-any/PKGBUILD (from rev 354510, qt5-doc/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-29 13:40:29 UTC (rev 354511)
@@ -0,0 +1,54 @@
+# 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.13.0-beta4
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='https://www.qt.io'
+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=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
+sha256sums=('1af4843c49c0fd79aebbffc24e9c57256a7aefc74bc5dd9aa7d3214ae2ab18bc')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  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 \
+    -nomake 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}
+}



More information about the arch-commits mailing list