diff options
Diffstat (limited to 'community/kdewebkit/APKBUILD')
-rw-r--r-- | community/kdewebkit/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kdewebkit/APKBUILD b/community/kdewebkit/APKBUILD index 69dea1f987..89248bcb39 100644 --- a/community/kdewebkit/APKBUILD +++ b/community/kdewebkit/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kdewebkit -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Integration of the HTML rendering engine WebKit" arch="all" @@ -12,8 +12,15 @@ makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kdewebkit-$pkgver.tar.xz" subpackages="$pkgname-dev" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -21,12 +28,14 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="42773a9ad77ccf58c46eda18bf186f0379c69edeb074516bcce45914ee14b7fb183da536789902b399d1d8661a4aba33caa6c8ed1c6cc4e47fe49f5c66a328b8 kdewebkit-5.62.0.tar.xz" +sha512sums="3c945f521b8d55e6d587fd7cb48d72d11b461119d5bfbdd1623792cf98d8045a5e9ab7012a5e962701590331a78afb013c6561f2cac25e190f72595c3cf2524a kdewebkit-5.63.0.tar.xz" |