void-packages/srcpkgs/kf6-kdav/template

26 lines
773 B
Bash

# Template file for 'kf6-kdav'
pkgname=kf6-kdav
version=6.7.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=6629f2af0042eb1e0dc0c08b5180ac7b48dae6b5999e1dd0b678aed8b874c1d7
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"
}
}