aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 13:43:40 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 08:27:45 -0300
commit3f4e54b0fef5ecd17dd6f8cd2ef51eeae32a7f7a (patch)
tree7c24662acc87a225ade26ea9a3580b32fd6fea62 /testing
parent14d5195e3960ab6b17865af768ad83c19f16ce61 (diff)
downloadaports-3f4e54b0fef5ecd17dd6f8cd2ef51eeae32a7f7a.tar.bz2
aports-3f4e54b0fef5ecd17dd6f8cd2ef51eeae32a7f7a.tar.xz
testing/kcalcore: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/kcalcore/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kcalcore/APKBUILD b/testing/kcalcore/APKBUILD
new file mode 100644
index 0000000000..9d40cdcd42
--- /dev/null
+++ b/testing/kcalcore/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcalcore
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="The KDE calendar access library"
+arch="all"
+url="https://api.kde.org/kdepim/kcalcore/html"
+license="LGPL-2.0-or-later"
+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"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # testrecurtodo, testreadrecurrenceid and testicaltimezones are broken
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "test(recurtodo|readrecurrenceid|icaltimezones)"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="3a222828e3ff90e03dce17a19cb7694cb5f2092c131fa1474ba70e54159df7eae5b379ed73d1eee0514f3f2d31e8777f047e9de7f5c269bbafc80db89fa5c6d3 kcalcore-19.04.2.tar.xz"