a0289fc4ea
Closes: #10806 [via git-merge-pr]
28 lines
882 B
Bash
28 lines
882 B
Bash
# Template file for 'kholidays'
|
|
pkgname=kholidays
|
|
version=17.12.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="cmake"
|
|
makedepends="extra-cmake-modules qt5-devel qt5-tools-devel qt5-declarative-devel"
|
|
short_desc="KDE library for regional holiday information"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://projects.kde.org/projects/applications/kholidays"
|
|
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=8832f089c0a43e07567581d2b6a747b7710ac4cd6d47bb02f6137dbbf8692515
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
fi
|