pmaports/kde/calendarsupport/APKBUILD

36 lines
1 KiB
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=calendarsupport
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc='Library providing calendar support'
arch="all"
url="https://api.kde.org/kdepim/calendarsupport/html"
license="GPL-2.0 LGPL-2.1"
depends=""
depends_dev="akonadi-dev kmime-dev akonadi-mime-dev kcalutils-dev kholidays-dev akonadi-calendar-dev
pimcommon-dev kdepim-apps-libs-dev"
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 \
-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="492f353f9cb2d7c1f1296fb81afdfac8b68b477dd458c8242fdfb4379f5e317c7feeb90ce7f3533186265cfb27d4d5433cd1e43e1622efdf8c749dcb3093c844 calendarsupport-18.12.0.tar.xz"