void-packages/srcpkgs/baloo-widgets5/template

26 lines
816 B
Bash

# Template file for 'baloo-widgets5'
pkgname=baloo-widgets5
version=18.12.0
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules python qt5-host-tools qt5-qmake"
makedepends="baloo5-devel"
short_desc="Baloo widgets"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://cgit.kde.org/baloo-widgets.git/"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=8fb291d02eb13315f1544d2523d50a9107f8ea5a564f7611e7e2b5240a0507eb
baloo-widgets5-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}