void-packages/srcpkgs/kdewebkit/template

26 lines
818 B
Bash

# Template file for 'kdewebkit'
pkgname=kdewebkit
version=5.84.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules
qt5-host-tools qt5-qmake python3 gettext"
makedepends="kparts-devel qt5-webkit-devel"
short_desc="KDE Integration of the HTML rendering engine WebKit"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kdewebkit"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=024b6ecbf1fe5f2938e166307b11010fe4c7d3ded082f3bf86f79157326e1266
kdewebkit-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}