void-packages/srcpkgs/kf6-kguiaddons/template

36 lines
1.0 KiB
Bash

# Template file for 'kf6-kguiaddons'
pkgname=kf6-kguiaddons
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
wayland-devel pkg-config qt6-wayland-tools"
makedepends="qt6-wayland-devel plasma-wayland-protocols wayland-devel
qt6-base-private-devel"
depends="kf6-kguiaddons-geo-uri-handler"
short_desc="Addons to QtGui"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kguiaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=bcaa36e4c046a4adadbe6bbb8649169c1b1b96ab68953e3ea1957d7b87c18331
kf6-kguiaddons-geo-uri-handler_package() {
short_desc+=" - Geo URI handler"
pkg_install() {
vmove usr/share/applications
vmove usr/bin/kde-geo-uri-handler
}
}
kf6-kguiaddons-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}