# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kaidan pkgver=0.4.1 pkgrel=3 pkgdesc="Kaidan, a simple and user-friendly Jabber/XMPP client for every device and platform" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://invent.kde.org/kde/kaidan" license="GPL-3.0-or-later-with-openssl-exception AND GPL-3.0-or-later AND MIT AND AND Apache-2.0 AND CC-BY-SA-4.0 AND CC-BY-SA-3.0" depends="kirigami2" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qttools-dev kirigami2-dev knotifications-dev qxmpp-dev" source="https://download.kde.org/stable/kaidan/$pkgver/kaidan-$pkgver.tar.xz" options="!check" # No tests prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DQUICK_COMPILER=TRUE \ -DI18N=TRUE make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="907ef5824a781f5cc55af1dfe4a52fe058057585826fecfd2d4d039bdfb3241ec1189fbd34f89fe0aa381b9c86ba418bc1d020324a32466a3b8304783542363e kaidan-0.4.1.tar.xz"