void-packages/srcpkgs/kdeclarative/template
2021-05-13 21:15:20 +02:00

26 lines
894 B
Bash

# Template file for 'kdeclarative'
pkgname=kdeclarative
version=5.82.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=5c95ebf424e6d1ffd4da4954e998d8d00ef9f35eb27bfc5779e5c5d9aeaa573f
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"
}
}