diff options
Diffstat (limited to 'community/kimageformats/APKBUILD')
-rw-r--r-- | community/kimageformats/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kimageformats/APKBUILD b/community/kimageformats/APKBUILD index e2068f6b6d..ddb7d44535 100644 --- a/community/kimageformats/APKBUILD +++ b/community/kimageformats/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kimageformats -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Image format plugins for Qt5" arch="all" @@ -11,8 +11,15 @@ makedepends="qt5-qtbase-dev karchive-dev extra-cmake-modules openexr-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kimageformats-$pkgver.tar.xz" +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 @@ -20,10 +27,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="edc219ae7be1746098789f6ec3dbe96cbca406a753ded68dc8f713d03f1258a228234ae3d5d5b3dcb1503372460c1e5bcd097c2936b7d1cd8d0bbcd85c32e434 kimageformats-5.62.0.tar.xz" +sha512sums="234ba33d6a9ba531efd2b80371b61d5319d1e0958d397d521f4a32c50b709fbd8dc43fc2438c597748351b09d1d12f0ed857de11deb04b2e77feb3fddd846867 kimageformats-5.63.0.tar.xz" |