void-packages/srcpkgs/kf6-kdav/template

26 lines
773 B
Bash

# Template file for 'kf6-kdav'
pkgname=kf6-kdav
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="qt6-base-devel kf6-kio-devel kf6-ki18n-devel"
short_desc="DAV protocol implementation with KJobs"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdav"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=825ed9de5fc94e228fccd4af48cf7c101c0bbe37bbf6385cf81820bbeaf778e7
replaces="kdav>=0"
kf6-kdav-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}