void-packages/srcpkgs/kbookmarks/template

26 lines
822 B
Bash

# Template file for 'kbookmarks'
pkgname=kbookmarks
version=5.69.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools qt5-tools"
makedepends="kxmlgui-devel"
short_desc="KDE Bookmarks management library"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only"
homepage="https://projects.kde.org/projects/frameworks/kbookmarks"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9bd8c3226cde3fa307cc72875fe3f2b768949c16ef3b198e01a49a39b1624ea4
kbookmarks-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"
}
}