diff options
-rw-r--r-- | testing/kitinerary/APKBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/testing/kitinerary/APKBUILD b/testing/kitinerary/APKBUILD index 289113d50e..e605836cd8 100644 --- a/testing/kitinerary/APKBUILD +++ b/testing/kitinerary/APKBUILD @@ -13,7 +13,7 @@ makedepends=" qt5-qtdeclarative-dev ki18n-dev kmime-dev - kcalcore-dev + kcalendarcore-dev kcontacts-dev kpkpass-dev poppler-dev @@ -25,8 +25,15 @@ makedepends=" source="https://download.kde.org/stable/applications/$pkgver/src/kitinerary-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" +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 @@ -34,6 +41,8 @@ build() { } check() { + cd "$builddir"/build + # jsonlddocumenttest, mergeutiltest, airportdbtest, pkpassextractortest, # postprocessortest, calendarhandlertest and extractortest are broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest \ @@ -41,6 +50,7 @@ check() { } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } |