aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lokalize/APKBUILD
blob: 11957dc47086a2839f8fddd9df394f2259e36cad (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=lokalize
pkgver=19.12.2
pkgrel=1
pkgdesc="Computer-Aided Translation System"
arch="all !armhf"
url="https://kde.org/applications/office/org.kde.lokalize"
license="(GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kio-dev kxmlgui-dev knotifications-dev kconfig-dev kcoreaddons-dev kdoctools-dev kross-dev sonnet-dev kdbusaddons-dev kcrash-dev hunspell-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/lokalize-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="7e0614bfc7033df3a573c72e8bf1c3bbcbff0274d9dec0fdb64d634b98df8dc65bf4c9e5732e8483fe768691ab8b374650bd1bc05fff0371888299e3e826766c  lokalize-19.12.2.tar.xz"