diff options
author | Giorgio Peron <giorgio.peron@gmail.com> | 2023-12-29 10:28:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-29 19:21:04 +0700 |
commit | f4d65c1fae3fed04f6a98f2cddf18c861e82453f (patch) | |
tree | 76ded26fe49a008ea21c4614df9714cf93e572a1 | |
parent | 320756ebb012f803729e1780e5f7cc9d16555493 (diff) |
development/staruml: Updated for version 6.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/staruml/README | 7 | ||||
-rw-r--r-- | development/staruml/slack-desc | 12 | ||||
-rw-r--r-- | development/staruml/staruml.SlackBuild | 67 | ||||
-rw-r--r-- | development/staruml/staruml.info | 14 |
4 files changed, 29 insertions, 71 deletions
diff --git a/development/staruml/README b/development/staruml/README index 9d3c5e8cfafc5..e6f7598384ebd 100644 --- a/development/staruml/README +++ b/development/staruml/README @@ -1,4 +1,3 @@ -StarUML 2 is compatible with UML 2.x standard and supports totally 11 -kinds of UML diagrams: Class, Object, Use Case, Component, Deployment, -Composite Structure, Sequence, Communication, Statechart, Activity and -Profile Diagram. +StarUML is a sophisticated software modeler aimed to support agile and +concise modeling. +The software can be evaluated for free without time limit. diff --git a/development/staruml/slack-desc b/development/staruml/slack-desc index aef74c2b66b6a..bfe100c863c7a 100644 --- a/development/staruml/slack-desc +++ b/development/staruml/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| staruml: staruml (A sophisticated software UML modeler) staruml: -staruml: StarUML 2 is compatible with UML 2.x standard and supports totally -staruml: 11 kinds of UML diagrams: Class, Object, Use Case, Component, -staruml: Deployment, Composite Structure, Sequence, Communication, -staruml: Statechart, Activity and Profile Diagram. -staruml: -staruml: Homepage: http://staruml.io +staruml: StarUML is a sophisticated software modeler aimed to support agile +staruml: and concise modeling. It is UML 2.x standard compliant and support +staruml: diagrams: Class, Package, Object, Use Case, Component, Deployment, +staruml: Composite Structure, Sequence, Communication, Statechart, Activity, +staruml: Information Flow, Interaction Overview, Timing and Profile. staruml: +staruml: Homepage: https://staruml.io staruml: staruml: diff --git a/development/staruml/staruml.SlackBuild b/development/staruml/staruml.SlackBuild index e27ae44980dbd..1f69b5b300287 100644 --- a/development/staruml/staruml.SlackBuild +++ b/development/staruml/staruml.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for StarUML -# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy +# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=staruml -VERSION=${VERSION:-2.8.0} -CRYPT_VERSION=${CRYPT_VERSION:-1.5.0-5+deb7u6} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -53,22 +49,9 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SRCARCH="32-bit" - DEBARCH="i386" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SRCARCH="32-bit" - DEBARCH="i386" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SRCARCH="64-bit" - DEBARCH="amd64" - LIBDIRSUFFIX="64" -else - SRCARCH="32-bit" - DEBARCH="i386" - LIBDIRSUFFIX="" +if [ "$ARCH" != "x86_64" ]; then + echo "$ARCH not supported." + exit 1 fi set -e @@ -77,45 +60,25 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -ar xvf $CWD/$SRCNAM-v$VERSION-$SRCARCH.deb -cd $PKG -unxz -c ../data.tar.xz | tar xv -cd $TMP -ar xvf $CWD/libgcrypt11\_$CRYPT_VERSION\_$DEBARCH.deb -cd $PKG -tar xvf ../data.tar.gz - -chown -R root:root . -rm -rf $PKG/usr/share/menu -mkdir -p lib$LIBDIRSUFFIX -if [ "$DEBARCH" == 'amd64' ]; then - mv lib/x86_64-linux-gnu/* lib$LIBDIRSUFFIX/ - rm -rf lib - else - mv lib/i386-linux-gnu/* lib$LIBDIRSUFFIX/ - rm -rf lib/i386-linux-gnu -fi +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +ar x $CWD/${SRCNAM}\_${VERSION}\_amd64.deb +tar xf data.tar.xz +mv opt $PKG +mv usr $PKG # Strip binaries and libraries. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -if [ "$ARCH" = "x86_64" ]; then -( - cd $PKG/lib64 - ln -sf /opt/staruml/staruml staruml -) -fi +chmod 644 $PKG/usr/share/applications/$PRGNAM.desktop -mkdir -p $PKG/usr/doc/ -mv usr/share/doc/$PRGNAM usr/doc/$PRGNAM-$VERSION -rm -rf usr/share/doc +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/share/applications -mv opt/$PRGNAM/$PRGNAM.desktop usr/share/applications - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/development/staruml/staruml.info b/development/staruml/staruml.info index b57bd5dd23992..f76e12d317161 100644 --- a/development/staruml/staruml.info +++ b/development/staruml/staruml.info @@ -1,14 +1,10 @@ PRGNAM="staruml" -VERSION="2.8.0" +VERSION="6.0.1" HOMEPAGE="http://staruml.io" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/staruml/StarUML-v2.8.0-32-bit.deb \ - http://ponce.cc/slackware/sources/repo/staruml/libgcrypt11_1.5.0-5+deb7u6_i386.deb" -MD5SUM="a07dddbd9afb9a68461aef587c2ad928 \ - 63db5f580f4773e3727f1c5941fb14c7" -DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/staruml/StarUML-v2.8.0-64-bit.deb \ - http://ponce.cc/slackware/sources/repo/staruml/libgcrypt11_1.5.0-5+deb7u6_amd64.deb" -MD5SUM_x86_64="8a541f9194ade2b3e5a619a0330675e4 \ - caa37c9dd53aa74df447b10f93f3ef80" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://staruml.io/api/download/releases-v6/StarUML_6.0.1_amd64.deb" +MD5SUM_x86_64="29ee957cf27498152d16d7a241e69730" REQUIRES="" MAINTAINER="Giorgio Peron" EMAIL="giorgio.peron@gmail.com" |