void-packages/srcpkgs/kdecoration/template

26 lines
809 B
Bash

# Template file for 'kdecoration'
pkgname=kdecoration
version=5.27.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-devel
kcoreaddons"
makedepends="qt5-devel ki18n-devel kcoreaddons-devel"
short_desc="KDE Plugin based library to create window decorations"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/kdecoration"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=4ec94df56f2e6c98486d0328e2ee080255a806336915c42f7ab260befd4c7c13
kdecoration-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}