Date: Tuesday, July 28, 2015 @ 20:09:20 Author: arojas Revision: 242593
Add KF5 version of Umbrello Added: umbrello/ umbrello/kde-unstable/ umbrello/kde-unstable/PKGBUILD umbrello/kde-unstable/umbrello.install ------------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ umbrello.install | 13 +++++++++++++ 2 files changed, 52 insertions(+) Added: umbrello/kde-unstable/PKGBUILD =================================================================== --- umbrello/kde-unstable/PKGBUILD (rev 0) +++ umbrello/kde-unstable/PKGBUILD 2015-07-28 18:09:20 UTC (rev 242593) @@ -0,0 +1,39 @@ +# Maintainer: Antonio Rojas <[email protected]> + +pkgname=umbrello +pkgver=15.07.80 +pkgrel=1 +pkgdesc='UML modeller' +arch=(i686 x86_64) +url='http://kde.org/applications/development/umbrello' +license=(GPL) +depends=(hicolor-icon-theme ktexteditor kinit) +makedepends=(extra-cmake-modules kdoctools python) +conflicts=(kdesdk-umbrello) +replaces=(kdesdk-umbrello) +groups=(kde-applications kdesdk) +source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz") +install=$pkgname.install +md5sums=('cc1d87543e0e55fc15dde02a0997545c') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_KF5=ON \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} + Added: umbrello/kde-unstable/umbrello.install =================================================================== --- umbrello/kde-unstable/umbrello.install (rev 0) +++ umbrello/kde-unstable/umbrello.install 2015-07-28 18:09:20 UTC (rev 242593) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} +
