30 lines
914 B
Bash
30 lines
914 B
Bash
# Template file for 'kholidays'
|
|
pkgname=kholidays
|
|
version=5.49.0
|
|
revision=1
|
|
reverts="17.12.3_1 17.12.1_1 17.12.0_1 17.04.3_1"
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="qt5-devel qt5-tools-devel qt5-declarative-devel"
|
|
short_desc="KDE library for regional holiday information"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/applications/kholidays"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b7e9cdc3aed84ce898071390804d32e03415f43de3f06615d8818fa931898479
|
|
|
|
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"
|
|
}
|
|
}
|