2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=calendarsupport
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgver=18.12.2
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
2019-02-23 11:16:17 +00:00
|
|
|
pkgdesc="Library providing calendar support"
|
2018-10-08 06:50:31 +00:00
|
|
|
arch="all"
|
|
|
|
url="https://api.kde.org/kdepim/calendarsupport/html"
|
|
|
|
license="GPL-2.0 LGPL-2.1"
|
2019-02-23 11:16:17 +00:00
|
|
|
depends_dev="akonadi-dev kmime-dev akonadi-mime-dev kcalutils-dev kholidays-dev akonadi-calendar-dev pimcommon-dev kdepim-apps-libs-dev"
|
2018-10-08 06:50:31 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-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-02-23 11:16:17 +00:00
|
|
|
sha512sums="0da68881d618a6157c38e9ead1f2a9974f1d9e766709aa22841e6277c578e21e99aee6ed8a5eb118b71e46efdb80f9aad9003d4da955042e2865ade9fed53fe8 calendarsupport-18.12.2.tar.xz"
|