30 lines
889 B
Bash
30 lines
889 B
Bash
# Template file for 'kemoticons'
|
|
pkgname=kemoticons
|
|
version=5.54.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="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=5bf4ad3bedd79b48d1b0f3be2dbc0932eae5fc35d8a05115c7e55470af73ec7a
|
|
|
|
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"
|
|
}
|
|
}
|