28 lines
894 B
Bash
28 lines
894 B
Bash
# Template file for 'kholidays'
|
|
pkgname=kholidays
|
|
version=17.12.3
|
|
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="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/applications/kholidays"
|
|
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=b181701036ad6d1c68c685c8f4dd8bb6fdbe0aaffe586b3fe677ff3f08310871
|
|
|
|
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
|