# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=sink pkgver=0.7.0 pkgrel=3 pkgdesc="An offline-cache, synchronizaqtion and indexing system for PIM data" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0" depends_dev="qt5-qtbase-dev kmime-dev kcontacts-dev kasync-dev kimap2-dev kdav2-dev lmdb-dev xapian-core-dev curl-dev readline-dev flatbuffers-dev libexecinfo-dev kcalcore-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz musl-lacks-backtrace.patch" subpackages="$pkgname-dev" options="!check" # Completely fail build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="845d38197b3c4eb39b0852244f0e6ddb65e48840e7a0da742b8f1b9e4e24697f882816ad181b60de266b4a8eceb9f5498db3acf3d58daaaaf40d4a6980b7db2b sink-0.7.0.tar.xz fe852fcb78dc055dd819f54dd34dc5c2e32dbdb4b74051420a90362409f2b6059ba236acf9a8e84d01180482f7985a641d59bfd094b8151c526f8453cfb8e6e1 musl-lacks-backtrace.patch"