diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-22 11:06:33 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-22 08:53:27 -0300 |
commit | 51b9d5bb29cf37b1b423346638270c2c5e2bc9be (patch) | |
tree | eefb001fde16ffc2fe250bdbec5937d2db08fc22 /testing/kcalutils | |
parent | 60a576e25d773e572f747d109ae27a719a2309a6 (diff) | |
download | aports-51b9d5bb29cf37b1b423346638270c2c5e2bc9be.tar.bz2 aports-51b9d5bb29cf37b1b423346638270c2c5e2bc9be.tar.xz |
testing/kcalutils: rebuild against kcalendarcore
Diffstat (limited to 'testing/kcalutils')
-rw-r--r-- | testing/kcalutils/APKBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/testing/kcalutils/APKBUILD b/testing/kcalutils/APKBUILD index cf962bfba9..57072ad23c 100644 --- a/testing/kcalutils/APKBUILD +++ b/testing/kcalutils/APKBUILD @@ -2,19 +2,26 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kcalutils pkgver=19.08.2 -pkgrel=0 +pkgrel=1 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" +depends_dev="kcoreaddons-dev kconfig-dev ki18n-dev kcodecs-dev kwidgetsaddons-dev kconfigwidgets-dev kiconthemes-dev grantlee-dev kcalendarcore-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" +source="https://download.kde.org/stable/applications/$pkgver/src/kcalutils-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -22,11 +29,14 @@ build() { } check() { + cd "$builddir"/build + # kcalutils-testincidenceformatter is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kcalutils-testincidenceformatter" } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="2ef58ef0fdd48a32984b4d25b09c382435dc30bd4b02e90df6730344a3a8bc0d585bef0426a2cb750f0b9b9ab5dfb0f0324d491bcd12095a0e4aa5662c7b2937 kcalutils-19.08.2.tar.xz" |