blob: 6439d9b1b83feabd3258fd5615c496d7f0116108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkdepim
pkgver=19.08.3
pkgrel=0
pkgdesc="Lib for common KDEPim apps"
arch="all"
url="https://community.kde.org/KDE_PIM"
license="GPL-2.0i-or-later AND LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kcmutils-dev kio-dev kwallet-dev kwidgetsaddons-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_DESIGNERPLUGIN=ON
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="f51973b248c1c6c213dca3da0458e8b8655a46aaae5be780c0fa31e557daba10534c78c8ae327e6f4f4eab55fb654fc720d7e0d71dac2e47a431a9162316f229 libkdepim-19.08.3.tar.xz"
|