2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libkdepim
|
2019-03-13 08:32:18 +00:00
|
|
|
pkgver=18.12.3
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="Lib for common KDEPim apps"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
2019-02-23 11:16:17 +00:00
|
|
|
url="https://community.kde.org/KDE_PIM"
|
2018-10-08 06:50:31 +00:00
|
|
|
license="GPL-2.0 LGPL-2.1"
|
2019-02-23 11:16:17 +00:00
|
|
|
depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kjobwidgets-dev kcmutils-dev kwallet-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev"
|
2018-10-08 06:50:31 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
options="!check" # Requires running X11 server
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-23 11:16:17 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-03-13 08:32:18 +00:00
|
|
|
sha512sums="47c73da18e05a281e96f747399da1c9f90e84ec13de3f8df7786d8e2f71ce802eeb784dccde818e35a5e2cbce5cb395025a1bf6da8ef568a4d583886bc67c4a6 libkdepim-18.12.3.tar.xz"
|