summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/kcalendarcore/APKBUILD (renamed from user/kcalcore/APKBUILD)23
1 files changed, 11 insertions, 12 deletions
diff --git a/user/kcalcore/APKBUILD b/user/kcalendarcore/APKBUILD
index 62764c297..759069d42 100644
--- a/user/kcalcore/APKBUILD
+++ b/user/kcalendarcore/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
-pkgname=kcalcore
-pkgver=18.12.3
+pkgname=kcalendarcore
+pkgver=5.65.0
pkgrel=0
pkgdesc="Library for managing a calendar of events"
url="https://www.kde.org/"
@@ -9,14 +9,14 @@ arch="all"
license="LGPL-2.0+"
depends=""
depends_dev="qt5-qtbase-dev attica-dev kparts-dev"
-makedepends="$depends_dev cmake extra-cmake-modules bison libical-dev
- kconfig-dev kdelibs4support-dev"
checkdepends="tzdata"
-subpackages="$pkgname-dev"
-source="https://download.kde.org/stable/applications/$pkgver/src/kcalcore-$pkgver.tar.xz"
+makedepends="$depends_dev cmake extra-cmake-modules libical-dev
+ doxygen qt5-qttools-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+replaces="kcalcore"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcalendarcore-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -27,18 +27,17 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ -DBUILD_QCH:BOOL=ON \
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
- TZ=UTC CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 'Compat-libical3'
+ TZ=UTC CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(Compat-libical3|testicaltimezones)'
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="c347bfba365cb8d88fe11f743f5e5870e31a2d526f0cecda3bdebccadbf8e1ae5d19586d1c7120327e47e30a7a21931ed1e084fbfbdc41c82516e803893effae kcalcore-18.12.3.tar.xz"
+sha512sums="4222a7223b9c6a45bc6966e547f9caa129e469a21386be271678ac3e6fcc2574593ca9dbb3f00bec30030f3d4511fb219a692607cd3b5fdcecd29be758a6e3ae kcalendarcore-5.65.0.tar.xz"