mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/SweetHome3D: Version bump to 7.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0e27f11c7a
commit
ba768aa967
2 changed files with 16 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue