void-packages/srcpkgs/qt6-languageserver/template

27 lines
903 B
Bash

# Template file for 'qt6-languageserver'
pkgname=qt6-languageserver
version=6.6.0
revision=1
build_style=cmake
configure_args="-DQT_BUILD_TESTS=ON"
hostmakedepends="qt6-base"
makedepends="qt6-base-devel"
short_desc="Implementation of the Language Server Protocol for Qt6"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
homepage="https://www.qt.io"
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtlanguageserver-everywhere-src-${version}.tar.xz"
checksum=aec93019862bf63769206fe56a2230cd9e37994806a4bf28415203b4eb9a490e
qt6-languageserver-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}