void-packages/srcpkgs/kemoticons/template
2021-09-21 09:39:42 +02:00

28 lines
855 B
Bash

# Template file for 'kemoticons'
pkgname=kemoticons
version=5.86.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kservice-devel karchive-devel"
short_desc="KDE Convert text emoticons to graphical emoticons"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, CC-BY-4.0"
homepage="https://invent.kde.org/frameworks/kemoticons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ad2729ef49fd18a0d743e4137d9033246b1b3ffc599d219d768c6bb54ba7cf52
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"
}
}