blob: b9fb05273405d481d9a2cae0ff212a0be46e42ad (
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=pimcommon
pkgver=19.12.2
pkgrel=0
pkgdesc="Common lib for KDEPim"
arch="all !armhf"
url='https://community.kde.org/KDE_PIM'
license="GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev akonadi-dev akonadi-contacts-dev kcontacts-dev kimap-dev libkdepim-dev kpimtextedit-dev purpose-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$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="84970405e38c5c742d78bbf256afa5625449985389d2bd7436383f1a4be6b12a51eef1dbd931845b09eaeac184477539fec040f485eca1ed53ae9e0f917863f5 pimcommon-19.12.2.tar.xz"
|