diff options
Diffstat (limited to 'testing/kcalutils/APKBUILD')
-rw-r--r-- | testing/kcalutils/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kcalutils/APKBUILD b/testing/kcalutils/APKBUILD new file mode 100644 index 0000000000..df865efac6 --- /dev/null +++ b/testing/kcalutils/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kcalutils +pkgver=19.04.2 +pkgrel=0 +pkgdesc="The KDE calendar utility library" +arch="all" +url="https://api.kde.org/kdepim/kcalutils/html" +license="LGPL-2.0-or-later" +depends_dev="kcoreaddons-dev kconfig-dev ki18n-dev kcodecs-dev kwidgetsaddons-dev kconfigwidgets-dev kiconthemes-dev grantlee-dev kcalcore-dev kidentitymanagement-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + # kcalutils-testincidenceformatter is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kcalutils-testincidenceformatter" +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="5a08927fc9fd2304c3a6a65717905f29569a349db87c7c6f11775e9ea318d6b3d88925eed0bfc9dc6b9e60cd8f3d976b7e2f00b7c75b975d7f5731cc58947088 kcalutils-19.04.2.tar.xz" |