# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=umbrello pkgver=19.08.1 pkgrel=0 arch="all" url="https://umbrello.kde.org/" pkgdesc="GUI for diagramming Unified Modelling Language (UML)" license="GPL-2.0-or-lateri AND LGPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebkit-dev karchive-dev kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev kiconthemes-dev kdelibs4support-dev kio-dev ktexteditor-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kitemmodels-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_KF5=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="a960cd47f5a6df91354d143345aedc1212810bad90de3f11387e848f65db6d1c0814ca6034c44ad130082ffe68cad5585f25e9cf710e9b4332f6218f2d2fd3fb umbrello-19.08.1.tar.xz"