diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-20 16:11:01 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-20 19:26:42 -0300 |
commit | e0d64d1cc781fd409ef33c5090f036c702d1c531 (patch) | |
tree | 55bb2f98b9b84d822aa28af854382f4c90e9a16d /testing/kcalutils | |
parent | 8a9a20330462859394f04e0439c40ec2cfbb0fa6 (diff) | |
download | aports-e0d64d1cc781fd409ef33c5090f036c702d1c531.tar.bz2 aports-e0d64d1cc781fd409ef33c5090f036c702d1c531.tar.xz |
testing/kcalutils: new aport
Diffstat (limited to 'testing/kcalutils')
-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" |