void-packages/srcpkgs/kparts/template
2021-06-11 22:45:07 +02:00

29 lines
830 B
Bash

# Template file for 'kparts'
pkgname=kparts
version=5.82.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules gettext
qt5-host-tools qt5-qmake python3"
makedepends="kio-devel"
short_desc="KDE Plugin framework for user interface components"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kparts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=00ae5edf41eac55d69d5de408d755671866eeaeb1a67d9ff0b4d5bbfa28d1251
do_check() {
: # test can not find packages assets?!
}
kparts-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"
}
}