diff options
-rw-r--r-- | testing/kalarmcal/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kalarmcal/APKBUILD b/testing/kalarmcal/APKBUILD new file mode 100644 index 0000000000..f9aad3075e --- /dev/null +++ b/testing/kalarmcal/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kalarmcal +pkgver=19.04.2 +pkgrel=0 +arch="all" +url="https://kontact.kde.org/" +pkgdesc="The KAlarm client library" +license="LGPL-2.0-or-later" +makedepends="extra-cmake-modules kconfig-dev ki18n-dev kholidays-dev akonadi-dev kcalcore-dev kidentitymanagement-dev kcalutils-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="92854ab4fe8181f9cc5f1470bd5a5c66ee0afff2ca4a558c20f7449ce02c713e8a80817ceca1c4f79edc3d79c009ebbc0961583188009b5c7df88247364fdf54 kalarmcal-19.04.2.tar.xz" |