Date: Monday, August 30, 2021 @ 18:10:36 Author: arojas Revision: 422665
archrelease: copy trunk to extra-any Added: qt5-translations/repos/extra-any/PKGBUILD (from rev 422664, qt5-translations/trunk/PKGBUILD) Deleted: qt5-translations/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 77 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 41 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-30 18:10:28 UTC (rev 422664) +++ PKGBUILD 2021-08-30 18:10:36 UTC (rev 422665) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgname=qt5-translations -_qtver=5.15.2 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('any') -url='https://www.qt.io' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='A cross-platform application and UI framework (Translations)' -depends=('qt5-base') -makedepends=('qt5-tools') -groups=('qt' 'qt5') -_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" -source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('d5788e86257b21d5323f1efd94376a213e091d1e5e03b45a95dd052b5f570db8') - -prepare() { - mkdir -p build -} - -build() { - cd build - - qmake ../${_pkgfqn} - make -} - -package() { - cd build - make INSTALL_ROOT="$pkgdir" install - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} -} Copied: qt5-translations/repos/extra-any/PKGBUILD (from rev 422664, qt5-translations/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-30 18:10:36 UTC (rev 422665) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-translations +pkgver=5.15.2+kde+r20 +pkgrel=1 +_commit=68f420ebdfb226e3d0c09ebed06d5454cc6c3a7f +arch=('any') +url='https://www.qt.io' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework (Translations)' +depends=('qt5-base') +makedepends=('git' 'qt5-tools') +groups=('qt' 'qt5') +_pkgfqn=qttranslations +source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit) +sha256sums=('SKIP') + +pkgver() { + cd $_pkgfqn + echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit` +} + +prepare() { + mkdir -p build +} + +build() { + cd build + + qmake ../${_pkgfqn} + make +} + +package() { + cd build + make INSTALL_ROOT="$pkgdir" install + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} +}