void-packages/srcpkgs/kbookmarks/template

26 lines
811 B
Bash

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