void-packages/srcpkgs/kholidays/template

29 lines
882 B
Bash

# Template file for 'kholidays'
pkgname=kholidays
version=17.12.0
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=cf7f2af97e9567e604eac7ddbfe2c57dc1dd551893011a1794e1d40a9c80dbd4
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