void-packages/srcpkgs/kdeclarative/template

27 lines
905 B
Bash

# Template file for 'kdeclarative'
pkgname=kdeclarative
version=5.71.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
gettext qt5-host-tools qt5-qmake python3 kconfig"
makedepends="kio-devel kpackage-devel libepoxy-devel"
short_desc="KDE Integration of QML and KDE work spaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kdeclarative"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ace0e52f561a9cfba1de4b77144a0a68037a1229530fb39070dc837da80ac8f8
kdeclarative-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"
}
}