void-packages/srcpkgs/kemoticons/template
2019-09-16 19:00:22 +02:00

29 lines
901 B
Bash

# Template file for 'kemoticons'
pkgname=kemoticons
version=5.62.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kservice-devel karchive-devel"
short_desc="KDE Convert text emoticons to graphical emoticons"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later, CC-BY-4.0"
homepage="https://projects.kde.org/projects/frameworks/kemoticons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=fab145b2c4106be8a4f0024cb436d02d0fdcbf8666e9a790cc1cd98db1e70313
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
kemoticons-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}