Date: Monday, November 27, 2017 @ 13:47:14 Author: arojas Revision: 311023
archrelease: copy kde-unstable to kde-unstable-any Added: qt5-examples/repos/kde-unstable-any/PKGBUILD (from rev 311022, qt5-examples/kde-unstable/PKGBUILD) Deleted: qt5-examples/repos/kde-unstable-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-27 13:46:22 UTC (rev 311022) +++ PKGBUILD 2017-11-27 13:47:14 UTC (rev 311023) @@ -1,40 +0,0 @@ -# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Michael Hansen <zrax0111 gmail com> - -pkgname=qt5-examples -_qtver=5.10.0-beta4 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('any') -url='http://qt-project.org/' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='Examples and demos from qt5 documentation' -depends=('qt5-doc') -groups=('qt' 'qt5') -_pkgfqn="qt-everywhere-src-${_qtver}" -source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz") -sha256sums=('6fde3b28130f985f5ef2d416d6ee1ec594a6695cc003b9b78e5341d551e5b1b8') - -package() { - _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-examples/repos/kde-unstable-any/PKGBUILD (from rev 311022, qt5-examples/kde-unstable/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-27 13:47:14 UTC (rev 311023) @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Michael Hansen <zrax0111 gmail com> + +pkgname=qt5-examples +_qtver=5.10.0-rc1 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('any') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Examples and demos from qt5 documentation' +depends=('qt5-doc') +groups=('qt' 'qt5') +_pkgfqn="qt-everywhere-src-${_qtver}" +source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz") +sha256sums=('6700fd67987f79928ce964313d78cb0e17465a4e96d0344f57f50ecbc928e180') + +package() { + _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 +}