void-packages/srcpkgs/kwidgetsaddons/template

26 lines
840 B
Bash

# Template file for 'kwidgetsaddons'
pkgname=kwidgetsaddons
version=5.42.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel"
short_desc="Large set of desktop widgets"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kwidgetsaddons"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8f9f7a4f06edd558b5786cc2852ba362e72d04d5a7c42b2bb63f47c09866d0a5
kwidgetsaddons-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
}
}