31 lines
906 B
Bash
31 lines
906 B
Bash
# Template file for 'kxmlgui'
|
|
pkgname=kxmlgui
|
|
version=5.96.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons
|
|
gettext qt5-qmake qt5-host-tools python3"
|
|
makedepends="kglobalaccel-devel ktextwidgets-devel attica-devel"
|
|
short_desc="KDE Framework for managing menu and toolbar actions"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kxmlgui"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=33acae1c4814bf1b584608392a0a184ccb8b42c420c7ff057c95b0cb9f133fc2
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E 'ktoolbar_unittest'
|
|
}
|
|
|
|
kxmlgui-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"
|
|
}
|
|
}
|