2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=pimcommon
|
2019-03-13 08:32:18 +00:00
|
|
|
pkgver=18.12.3
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=1
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="Common lib for KDEPim"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/KDE_PIM'
|
|
|
|
license="GPL-2.0 LGPL-2.1"
|
2019-02-23 11:16:17 +00:00
|
|
|
depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev akonadi-dev akonadi-contacts-dev kimap-dev libkdepim-dev kpimtextedit-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 \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-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="261c84c206ae9ddea9aff3c0f79436a8c32d060ee018aa7e02c698596a106ba608cacf1198b1b4d0f3df41c301ddeddb6bd6c4e344721ff616d0d0c6dd3fc7f8 pimcommon-18.12.3.tar.xz"
|