diff options
Diffstat (limited to 'testing/messagelib/APKBUILD')
-rw-r--r-- | testing/messagelib/APKBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/testing/messagelib/APKBUILD b/testing/messagelib/APKBUILD index 4779cb0a86..55e30b72e7 100644 --- a/testing/messagelib/APKBUILD +++ b/testing/messagelib/APKBUILD @@ -1,21 +1,28 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=messagelib -pkgver=19.08.3 +pkgver=19.12.0 pkgrel=0 pkgdesc="KDE PIM messaging library" arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine url="https://kontact.kde.org/" license="LGPL-2.0-only OR LGPL-3.0-only AND GPL-2.0-or-later" -depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kcodecs-dev ki18n-dev kmime-dev knewstuff-dev gpgme-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kio-dev kservice-dev sonnet-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev syntax-highlighting-dev kdbusaddons-dev grantlee-dev akonadi-dev akonadi-mime-dev kcontacts-dev akonadi-contacts-dev grantleetheme-dev libgravatar-dev kidentitymanagement-dev kldap-dev libkdepim-dev libkleo-dev kmailtransport-dev kmbox-dev pimcommon-dev kpimtextedit-dev akonadi-search-dev kdepim-apps-libs-dev" +depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kcodecs-dev ki18n-dev kmime-dev knewstuff-dev gpgme-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kio-dev kservice-dev sonnet-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev syntax-highlighting-dev kdbusaddons-dev grantlee-dev akonadi-dev akonadi-mime-dev kcontacts-dev akonadi-contacts-dev grantleetheme-dev libgravatar-dev kidentitymanagement-dev kldap-dev libkdepim-dev libkleo-dev kmailtransport-dev kmbox-dev pimcommon-dev kpimtextedit-dev akonadi-search-dev kdepim-apps-libs-dev qca-dev" checkdepends="xvfb-run" makedepends="$depends_dev extra-cmake-modules" -source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +source="https://download.kde.org/stable/release-service/$pkgver/src/messagelib-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Requires OpenGL and running dbus server +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 xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="defcd4534b1e61a6e115aa2106e92c8bd0d3405d7ff3e2f4a0616d4cd418cee513367215da57585a66f47d2208c888ed7fdef8f9bf70758f787551d009f746aa messagelib-19.08.3.tar.xz" +sha512sums="c8a367ff32a4a0afdab0b57725c24b3592b6fc95bd8d5f2e4ac8c872054f8c9de9157b4c68fcad87e27f1f34aed6db7a08080b5596e274a707b66dc878f5be2b messagelib-19.12.0.tar.xz" |