Files
horizon-packages/srcpkgs/kf6-ktexttemplate/template
T

32 lines
1012 B
Bash

# Template file for 'kf6-ktexttemplate'
# group=kde-frameworks
pkgname=kf6-ktexttemplate
version=6.29.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel"
short_desc="Library to separate the structure of documents from the data"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ktexttemplate"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=6ca3b4be8a76fff109297a5c6b1d23f5d55fa4b4110575d4c3287ee8b10619a9
# stage builds
makedepends+=" kf6-base"
shlib_requires="KDE_Frameworks.${version%.*}"
kf6-ktexttemplate-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}