void-packages/srcpkgs/kf6-kguiaddons/template

36 lines
1.0 KiB
Bash

# Template file for 'kf6-kguiaddons'
pkgname=kf6-kguiaddons
version=6.5.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=7193fa930b85fa6e7fda3a85f1e52f362ecd3e110e80055d9084eeafaeac4807
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"
}
}