# Maintainer: Zach van Rijn pkgname=qt5-qttranslations _pkgname=${pkgname#*-}-everywhere-src pkgver=5.15.3_git20210606 pkgrel=0 _commit=8fbbdf21f127197f97b58c7d80d2fa2a59135638 pkgdesc="Qt5 translations catalog" url="https://www.qt.io/" arch="all" license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0" options="!dbg" depends="" makedepends="qt5-qttools-dev" source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz" builddir="$srcdir"/${pkgname#*-}-$_commit prepare() { default_prepare # Make configure think we are running in a git directory # This makes it symlink the include files to the right directory mkdir .git } build() { qmake make } check() { make check } package() { make install INSTALL_ROOT="$pkgdir" } sha512sums="129c05ba94d4faa3c1362fa8888ad2a6defb0ba52f5751bef28e132944bf5430bf77bde0270fe8ea5bfbba54405af637b7bf36bf9645f74a3389a9b8688de4d9 qttranslations-8fbbdf21f127197f97b58c7d80d2fa2a59135638.tar.gz"