# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kemoticons pkgver=5.61.0 pkgrel=0 pkgdesc="Support for emoticons and emoticons themes" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" depends_dev="karchive-dev kconfig-dev kservice-dev kcoreaddons-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="ad4a3c729ce3b443b248bc067736829a7e7c72432dc488e9e3a302dbf5e2dd23b1499696ce6d8c228f521552a5c7c00f15c9da7f4b23619df655d2d4d2933bbc kemoticons-5.61.0.tar.xz"