diff options
-rw-r--r-- | user/akonadi/APKBUILD | 54 | ||||
-rw-r--r-- | user/akonadi/akonadiserverrc | 2 |
2 files changed, 56 insertions, 0 deletions
diff --git a/user/akonadi/APKBUILD b/user/akonadi/APKBUILD new file mode 100644 index 000000000..894176923 --- /dev/null +++ b/user/akonadi/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=akonadi +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Libraries and storage system for PIM data" +url="https://community.kde.org/KDE_PIM/Akonadi" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires running D-Bus session. +depends="qt5-qtbase-postgresql" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev ki18n-dev + sqlite-dev libxml2-dev libxslt-dev kcompletion-dev kconfig-dev kio-dev + kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kiconthemes-dev + kitemmodels-dev kitemviews-dev kwidgetsaddons-dev kwindowsystem-dev + kxmlgui-dev kcrash-dev kdesignerplugin-dev boost-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-$pkgver.tar.xz + akonadiserverrc" +builddir="$srcdir/akonadi-$pkgver" + +build() { + cd "$builddir" + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir"/usr/share/config/akonadi + install -m 644 "$srcdir"/akonadiserverrc \ + "$pkgdir"/usr/share/config/akonadi +} + +sha512sums="46e014377a908c7bde849fa55f1ba4990657e7011455423772236719cc86705f0d51420818e9cdbe2dffd49ad9c5b7aca9153416ce9ee7b4af3f9309741c1e4e akonadi-17.08.1.tar.xz +b0c333508da8ba5c447827b2bad5f36e3dc72bef8303b1526043b09c75d3055790908ac9cbb871e61319cfd4b405f4662d62d2d347e563c9956f4c8159fca9ab akonadiserverrc" diff --git a/user/akonadi/akonadiserverrc b/user/akonadi/akonadiserverrc new file mode 100644 index 000000000..4f5b32955 --- /dev/null +++ b/user/akonadi/akonadiserverrc @@ -0,0 +1,2 @@ +[%General] +Driver=QPSQL |