29 lines
811 B
Bash
29 lines
811 B
Bash
# Template file for 'kcalcore'
|
|
pkgname=kcalcore
|
|
version=18.08.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python bison"
|
|
makedepends="libical-devel qt5-devel"
|
|
short_desc="The KDE calendar access library"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/kcalcore-${version}.tar.xz"
|
|
checksum=a70ea203e35188185fa06066ea6f7edc7886d3c4ad8d91d6b2e1a980d4cc3d86
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
*-musl) CFLAGS="-D_GNU_SOURCE";;
|
|
esac
|
|
|
|
kcalcore-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|