diff options
Diffstat (limited to 'community/libkipi/APKBUILD')
-rw-r--r-- | community/libkipi/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/libkipi/APKBUILD b/community/libkipi/APKBUILD index 827023a5fa..9c4b725a5f 100644 --- a/community/libkipi/APKBUILD +++ b/community/libkipi/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=libkipi -pkgver=19.08.2 +pkgver=19.08.3 pkgrel=0 pkgdesc="KDE Image Plugin Interface library" arch="all" @@ -13,8 +13,15 @@ source="https://download.kde.org/stable/applications/$pkgver/src/libkipi-$pkgver subpackages="$pkgname-dev" options="!check" # Test suite fails to compile +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 \ @@ -23,10 +30,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="a0ec6fa7bb16a33bca198cd292b3d5c5ebcf7983979e1bcee7cc4863a50a6b82cc8b0072bbdb2209cb855c87fc039e165dd3deb0a342214f9377998d5d913640 libkipi-19.08.2.tar.xz" +sha512sums="6fe9b5e96768c644fc1fc395b0787bf99504fdaed319261f04a0a88be50df5624a5cc3738e609d29da4da50b1db720098986b2da215035752b6c5d0e6b175aa4 libkipi-19.08.3.tar.xz" |