void-packages/srcpkgs/baloo-widgets5/template

26 lines
816 B
Bash

# Template file for 'baloo-widgets5'
pkgname=baloo-widgets5
version=18.08.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
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=0fa393bd12bbb709ce242a604fc1649992a4cb2dca0d6c9b055610f123c42d27
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"
}
}