diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-28 00:47:41 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-28 00:47:41 -0500 |
commit | 61ce37455ec2f99ef314b876859ce24c9166ca1e (patch) | |
tree | 46197963953954b349609dee41ad52530baf7d5a /user | |
parent | 022807afba03f309356fb77918038071c86cb273 (diff) | |
download | packages-61ce37455ec2f99ef314b876859ce24c9166ca1e.tar.gz packages-61ce37455ec2f99ef314b876859ce24c9166ca1e.tar.bz2 packages-61ce37455ec2f99ef314b876859ce24c9166ca1e.tar.xz packages-61ce37455ec2f99ef314b876859ce24c9166ca1e.zip |
user/umbrello: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/umbrello/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/user/umbrello/APKBUILD b/user/umbrello/APKBUILD new file mode 100644 index 000000000..a4407ad44 --- /dev/null +++ b/user/umbrello/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=umbrello +pkgver=17.12.2 +pkgrel=0 +pkgdesc="Software modelling tool and code generator" +url="https://umbrello.kde.org/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev + qt5-qtwebkit-dev karchive-dev kcompletion-dev kcoreaddons-dev ki18n-dev + kcrash-dev kdoctools-dev kiconthemes-dev kdelibs4support-dev kio-dev + ktexteditor-dev kwindowsystem-dev kwidgetsaddons-dev kxmlgui-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/umbrello-$pkgver.tar.xz" + +build() { + cd "$builddir" + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="1ad128a798b429c3ccfaac2e754d57b3df9d62a697f43a0397f7f26958036a78e9a07d0bc62d923b3af39bcc97f830a88149e2505fcc0c36404a12190806254d umbrello-17.12.2.tar.xz" |