void-packages/srcpkgs/kf6-kdav/template

26 lines
773 B
Bash

# Template file for 'kf6-kdav'
pkgname=kf6-kdav
version=6.1.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=6444d3ea581d514fb82af942d092b0bc0613a1aca2fa2313a90002d148594c2b
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"
}
}