void-packages/srcpkgs/kdewebkit/template
2020-12-14 18:12:15 +01:00

26 lines
855 B
Bash

# Template file for 'kdewebkit'
pkgname=kdewebkit
version=5.77.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
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=91d8cf476f09620424a8e6d4940c2ceaad5d1fbab7cd36b0b14a2451c52067ff
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"
}
}