b4a403c3c8
[ci skip]
29 lines
892 B
Bash
29 lines
892 B
Bash
# Template file for 'kemoticons'
|
|
pkgname=kemoticons
|
|
version=5.78.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 <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=753c5c315a93174f3ce24bd8318bc7c1c0db813fba1e19ea6563be58ac805491
|
|
|
|
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"
|
|
}
|
|
}
|