Date: Thursday, February 27, 2020 @ 22:48:38 Author: arojas Revision: 376343
archrelease: copy kde-unstable to kde-unstable-any Added: qt5-translations/repos/kde-unstable-any/ qt5-translations/repos/kde-unstable-any/PKGBUILD (from rev 376342, qt5-translations/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: qt5-translations/repos/kde-unstable-any/PKGBUILD (from rev 376342, qt5-translations/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-any/PKGBUILD (rev 0) +++ kde-unstable-any/PKGBUILD 2020-02-27 22:48:38 UTC (rev 376343) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-translations +_qtver=5.15.0-beta1 +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/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('c5733c5a9c6cf75979d7f4cb59b1001904a18a9026c935a35e537a08ed8e684c') + +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} +}