void-packages/srcpkgs/kholidays/template

25 lines
801 B
Bash

# Template file for 'kholidays'
pkgname=kholidays
version=17.04.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="GPL-2"
homepage="https://projects.kde.org/projects/applications/kholidays"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=dca68a46d1c572b0fa15417ed55665111711d557dc29276d246a7c33e98692c2
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
}
}