32 lines
1006 B
Bash
32 lines
1006 B
Bash
# Template file for 'kpimtextedit'
|
|
pkgname=kpimtextedit
|
|
version=20.12.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules python3 qt5-qmake qt5-host-tools
|
|
kcoreaddons gettext"
|
|
makedepends="qt5-devel grantlee5-devel kcodecs-devel kconfig-devel kconfigwidgets-devel
|
|
kemoticons-devel kiconthemes-devel kio-devel syntax-highlighting-devel
|
|
qt5-speech-devel"
|
|
short_desc="Textedit with PIM-specific features"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/pim/kpimtextedit"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=7e9833d9210be7f5d4261d81f5a55f6111b21d186e4b07cb226be9d517ff9bb1
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-tools-devel"
|
|
fi
|
|
|
|
kpimtextedit-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"
|
|
}
|
|
}
|