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.08.1
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="314833f9328ed4af76ab9d50c7a6395f9f3b64f9d40dc459496d04c21018a66e30e44fcff5917b83db0e9d2851c4c3b58bd0f56471b97a55916f50f53a111e42 calendarsupport-18.08.1.tar.xz"