void-packages/srcpkgs/kf6-kholidays/template

27 lines
874 B
Bash

# Template file for 'kf6-kholidays'
pkgname=kf6-kholidays
version=6.3.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 assist determining when holidays occur"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kholidays"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=9f99e118c73da1d53805cb38ee876115d75ad5eb5fb108a38e6ae880e7cfac5e
kf6-kholidays-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}