2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kcalcore
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="The KDE calendar access library"
|
|
|
|
arch="all"
|
|
|
|
url="https://api.kde.org/kdepim/kcalcore/html"
|
|
|
|
license="LGPL-2.0"
|
|
|
|
depends=""
|
|
|
|
depends_dev="qt5-qtbase-dev libical-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
options="!check" # Broken
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="3c7a015afde62821254f27683836fe8dc40db374ed452a51c0c8640a6a39f8f0a474bedcf380465af952f7854799dc33a3853e5ea5fb205ddd738eb610da60ba kcalcore-18.12.0.tar.xz"
|