desktop/umbrello/PKGBUILD
2017-03-11 11:09:51 +00:00

40 lines
962 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname="umbrello"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="An UML modeling tool for KDE"
screenshot="http://uml.sourceforge.net/screenshots/umbrello-2.0.png"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
depends=(hicolor-icon-theme ktexteditor qt5-webkit)
makedepends=(extra-cmake-modules kdoctools python3)
groups=('kde' 'kde-devel' 'kde-uninstall' 'kdesdk')
provides=('kdesdk-umbrello')
conflicts=('kdesdk-umbrello')
replaces=('kdesdk-umbrello')
install=kdesdk.install
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DBUILD_KF5=ON
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}