diff options
Diffstat (limited to 'community/khtml/APKBUILD')
-rw-r--r-- | community/khtml/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/khtml/APKBUILD b/community/khtml/APKBUILD new file mode 100644 index 0000000000..113019a400 --- /dev/null +++ b/community/khtml/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=khtml +pkgver=5.60.0 +pkgrel=0 +pkgdesc="The KDE HTML library, ancestor of WebKit" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-or-later AND LGPL-2.1-only" +depends_dev="qt5-qtbase-dev perl-dev giflib-dev libjpeg-turbo-dev karchive-dev kcodecs-dev kglobalaccel-dev ki18n-dev kiconthemes-dev kio-dev kjs-dev knotifications-dev kparts-dev sonnet-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev" +makedepends="$depends_dev extra-cmake-modules gperf" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $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="97e6fe62ef8afd05e5798b7fb92906f9cd6e8094d993605c90a0b35f7e10ba2e2d5e735083be09ce51356ad2d13d07122a2468c3e947a19ea9678e32c311e811 khtml-5.60.0.tar.xz" |