aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdewebkit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kdewebkit/APKBUILD')
-rw-r--r--community/kdewebkit/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kdewebkit/APKBUILD b/community/kdewebkit/APKBUILD
new file mode 100644
index 0000000000..3e8ee753b0
--- /dev/null
+++ b/community/kdewebkit/APKBUILD
@@ -0,0 +1,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"