# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kemoticons pkgver=5.62.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%.*}/kemoticons-$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="e21f181d120980420a293aed02e1f13aa953535efc09d6c1d03aebd8217c99b73fa4a72243d0f23a3f9627d5b3bec3b9037341e814d00e5c8923cfa6817c741b kemoticons-5.62.0.tar.xz"