36 lines
935 B
Text
36 lines
935 B
Text
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||
|
pkgname=kcalcore
|
||
|
pkgver=18.08.1
|
||
|
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
|
||
|
}
|
||
|
sha512sums="3573b9b5314085855c7a06c87423474d5e83a3ef4b7200fab2532345774a8984c927940c3e5e26b3c1123cf1e8c944c480ea510b3577da8d7820acfa691915c8 kcalcore-18.08.1.tar.xz"
|