aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdewebkit/APKBUILD
blob: 3e8ee753b085c9a71c96bbe80e20177ba3fdb048 (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
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdewebkit
pkgver=5.60.0
pkgrel=0
pkgdesc="Integration of the HTML rendering engine WebKit"
arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev qt5-qtwebkit-dev kconfig-dev kcoreaddons-dev kio-dev kjobwidgets-dev kparts-dev kservice-dev kwallet-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}


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

sha512sums="85a537bc6a5ecbb615464c7fb240530f1ce0a1da3b37257991d1d1ae247855dde33149b114d9d8c616919399efb4b0d9e76973b4ed5fb9901afb7406b7e1c0fd  kdewebkit-5.60.0.tar.xz"