void-packages/srcpkgs/kholidays/template
2021-09-21 09:39:43 +02:00

29 lines
903 B
Bash

# Template file for 'kholidays'
pkgname=kholidays
reverts="17.12.3_1 17.12.1_1 17.12.0_1 17.04.3_1"
version=5.86.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="qt5-devel qt5-tools-devel qt5-declarative-devel"
short_desc="KDE library for regional holiday information"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kholidays"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=673d53f079c0338193f0467816650653c2394563548e96cc10d39afc15bd0bdb
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
kholidays-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}