aboutsummaryrefslogtreecommitdiffstats
path: root/testing/parley/APKBUILD
blob: 6ddbad1e834b66b02e1e7b92195b33f927946065 (plain)
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=parley
pkgver=19.08.2
pkgrel=0
arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine
url="https://kde.org/applications/education/org.kde.parley"
pkgdesc="Vocabulary Trainer"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev qt5-qtwebengine-dev kdoctools-dev kcoreaddons-dev kconfig-dev kcrash-dev ki18n-dev kio-dev knewstuff-dev kross-dev sonnet-dev kcmutils-dev kxmlgui-dev knotifications-dev libkeduvocdocument-dev libxslt-dev libxml2-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/parley-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

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

sha512sums="a87409f6bfc0da0e5b78c49860df93e8dbdb4a9bb73ca1cdcc1c73a19ddc479473cce1d89805934dab1100b0f627e6c551fcb3d4892e4793a4ca038e24453be7  parley-19.08.2.tar.xz"