diff options
-rw-r--r-- | testing/korganizer/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/korganizer/APKBUILD b/testing/korganizer/APKBUILD index 0fdb83d958..8bf3a4660a 100644 --- a/testing/korganizer/APKBUILD +++ b/testing/korganizer/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=korganizer pkgver=19.08.2 -pkgrel=0 +pkgrel=1 arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/components/korganizer.html" pkgdesc="The calendar and scheduling component of Kontact" @@ -12,7 +12,7 @@ makedepends="extra-cmake-modules qt5-qtbase-dev akonadi-search-dev kcodecs-dev kdbusaddons-dev kdoctools-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kcmutils-dev knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev knotifications-dev kholidays-dev kpimtextedit-dev - akonadi-dev kcontacts-dev kcalcore-dev akonadi-contacts-dev kidentitymanagement-dev + akonadi-dev kcontacts-dev kcalendarcore-dev akonadi-contacts-dev kidentitymanagement-dev kmailtransport-dev akonadi-mime-dev kcalutils-dev kldap-dev akonadi-calendar-dev phonon-dev kontactinterface-dev kmime-dev akonadi-notes-dev kdepim-apps-libs pimcommon-dev libkdepim-dev incidenceeditor-dev calendarsupport-dev eventviews-dev" @@ -20,8 +20,15 @@ checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/korganizer-$pkgver.tar.xz" subpackages="$pkgname-doc $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 @@ -29,12 +36,14 @@ build() { } check() { + cd "$builddir"/build # akonadi-sqlite-koeventpopupmenutest and akonadi-mysql-koeventpopupmenutest # require running dbus server CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "akonadi(-sqlite-koeventpopupmenu|-mysql-koeventpopupmenu)test" } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } |