49 lines
1.5 KiB
Bash
49 lines
1.5 KiB
Bash
# Template file for 'kate'
|
|
pkgname=kate
|
|
version=24.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules pkg-config gettext qt6-tools qt6-base
|
|
kf6-kconfig kf6-kdoctools"
|
|
makedepends="kf6-kitemmodels-devel kf6-knewstuff-devel kf6-ktexteditor-devel
|
|
kf6-threadweaver-devel kf6-kuserfeedback-devel kf6-kdoctools-devel
|
|
kf6-kconfig-devel qt6-base-private-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="KDE Text editor"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later, LGPL-2.0-or-later, GPL-2.0-or-later"
|
|
homepage="https://kde.org/applications/en/utilities/org.kde.kate"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname%5}-${version}.tar.xz"
|
|
checksum=85b20215e3ccfdbb1e615108a70673f1e6443ceca1948290eee3841a061173e9
|
|
replaces="kate5>=0"
|
|
|
|
libkate_package() {
|
|
short_desc+=" - libraries"
|
|
pkg_install() {
|
|
vmove usr/lib/libkateprivate.so.*
|
|
}
|
|
}
|
|
|
|
kwrite_package() {
|
|
short_desc+=" - kwrite"
|
|
pkg_install() {
|
|
vmove usr/bin/kwrite
|
|
vmove usr/share/applications/org.kde.kwrite.desktop
|
|
vmove usr/share/metainfo/org.kde.kwrite.appdata.xml
|
|
for f in ${DESTDIR}/usr/share/doc/HTML/*/kwrite; do
|
|
vmove ${f#$DESTDIR}
|
|
done
|
|
for f in ${DESTDIR}/usr/share/icons/hicolor/*/apps/kwrite.*; do
|
|
vmove ${f#$DESTDIR}
|
|
done
|
|
}
|
|
}
|
|
|
|
kate5_package() {
|
|
short_desc+=" - (Dummy transitional package)"
|
|
build_style=meta
|
|
depends="kate-${version}_${revision}"
|
|
}
|