void-packages/srcpkgs/kdeclarative/template
2021-02-19 20:34:28 +01:00

26 lines
894 B
Bash

# Template file for 'kdeclarative'
pkgname=kdeclarative
version=5.79.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://invent.kde.org/frameworks/kdeclarative"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f07b19a737cd0c5d824718332a2f20386583645fc075aca3b06d781cf7556115
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"
}
}