summaryrefslogtreecommitdiff
path: root/user/qt5-qttranslations/APKBUILD
blob: 8e156cae44cad7be8bb2d5d7867a3f0116482ff4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Zach van Rijn <me@zv.io>
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"