void-packages/srcpkgs/kbookmarks/template
2021-02-19 20:34:27 +01:00

25 lines
813 B
Bash

# Template file for 'kbookmarks'
pkgname=kbookmarks
version=5.79.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 <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=0dcfdf8b2f1d6cebdf830adc338d07a10cf2ddca815c21365cf5ec8e67943981
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"
}
}