void-packages/srcpkgs/kbookmarks/template

25 lines
776 B
Bash

# Template file for 'kbookmarks'
pkgname=kbookmarks
version=5.83.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools qt5-tools"
makedepends="kxmlgui-devel"
short_desc="KDE Bookmarks management library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only"
homepage="https://invent.kde.org/frameworks/kbookmarks"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=550d2886f67108210d1a5b83511d315f4e836e092291f4ac6c15e67ee118e732
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"
}
}