diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2023-09-25 17:12:51 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-07 00:59:31 +0700 |
commit | ba768aa967299cc1db968922d2f6979e35992cdf (patch) | |
tree | efa26c99804e57756bebaf7f96c46cdef284289f /graphics | |
parent | 0e27f11c7a4a2adc577f4d23c3d9a9800d959e2f (diff) |
graphics/SweetHome3D: Version bump to 7.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/SweetHome3D/SweetHome3D.SlackBuild | 21 | ||||
-rw-r--r-- | graphics/SweetHome3D/SweetHome3D.info | 10 |
2 files changed, 16 insertions, 15 deletions
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild index c762326766557..0038877113c44 100644 --- a/graphics/SweetHome3D/SweetHome3D.SlackBuild +++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> # Copyright 2012-2018 by Edward Koenig, Vancouver, Washington, USA <kingbeowulf@linuxgalaxy.org> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SweetHome3D -VERSION=${VERSION:-7.1} +VERSION=${VERSION:-7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,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 @@ -54,16 +51,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then TARGET="x86" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then TARGET="x86" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then TARGET="x64" - LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + echo "$ARCH is unsupported." + exit 1 fi set -e @@ -77,6 +71,13 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-linux-$TARGET.tgz ln -s $PRGNAM-$VERSION $PRGNAM +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 + +# Make ELF libraries/binaries executable to prevent sbopkglint failure +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs chmod +x 2> /dev/null || true + mkdir -p $PKG/usr/bin install -D -m 755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM diff --git a/graphics/SweetHome3D/SweetHome3D.info b/graphics/SweetHome3D/SweetHome3D.info index c1ea68a15d050..8be7896212c5e 100644 --- a/graphics/SweetHome3D/SweetHome3D.info +++ b/graphics/SweetHome3D/SweetHome3D.info @@ -1,10 +1,10 @@ PRGNAM="SweetHome3D" -VERSION="7.1" +VERSION="7.2" HOMEPAGE="http://www.sweethome3d.com/" -DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz" -MD5SUM="ebdd43fcb6ad1cc3fce51d2389c6d19a" -DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x64.tgz" -MD5SUM_x86_64="156fec5b212a3b630e29037af6f3e6f2" +DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.2/SweetHome3D-7.2-linux-x86.tgz" +MD5SUM="378388db78f2c80e9b4f0e625b2d758b" +DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.2/SweetHome3D-7.2-linux-x64.tgz" +MD5SUM_x86_64="b991fe6add3215b04a04c88cde3b8aae" REQUIRES="zulu-openjdk8" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" |