void-packages/srcpkgs/kplotting/template
2020-03-17 16:03:54 +01:00

26 lines
861 B
Bash

# Template file for 'kplotting'
pkgname=kplotting
version=5.68.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-devel"
makedepends="qt5-devel qt5-tools-devel"
short_desc="QWidget-derived class for easy data-plotting"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kplotting"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ccae7f90c016a1c517db820f352bb962f600678efdc4ac6b12e33d2c48f5c268
kplotting-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/qt5/plugins/designer
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}