void-packages/srcpkgs/kf6-kguiaddons/template

36 lines
1.0 KiB
Bash

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