27 lines
858 B
Bash
27 lines
858 B
Bash
# Template file for 'kplotting'
|
|
pkgname=kplotting
|
|
version=5.97.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_DESIGNERPLUGIN=ON"
|
|
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 <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kplotting"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=5ed2e16b632ac1dc99a1f278de3ef76f4a2e4bc8989b6876621a9b7a1716ea0e
|
|
|
|
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"
|
|
}
|
|
}
|