mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
graphics/SweetHome3D: Updated for version 4.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
31779afdc0
commit
df07b8e3e5
2 changed files with 15 additions and 9 deletions
|
@ -3,6 +3,7 @@
|
||||||
# Slackware build script for SweetHome3D
|
# Slackware build script for SweetHome3D
|
||||||
|
|
||||||
# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
|
# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
|
||||||
|
# Copyright 2012-2013 by Edward Koenig, Vancouver, Washington, USA <kingbeowulf@gmail.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -21,9 +22,13 @@
|
||||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
# Changelog
|
||||||
|
# 1.0 2012 New maintainer
|
||||||
|
# 1.1 21-JUN-2013 updated copywrite notice; new version (thanks to rw)
|
||||||
|
|
||||||
PRGNAM=SweetHome3D
|
PRGNAM=SweetHome3D
|
||||||
VERSION=${VERSION:-3.7}
|
VERSION=${VERSION:-4.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -54,7 +59,7 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e # Exit on most errors
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
@ -72,9 +77,10 @@ find . \
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin
|
||||||
cp -a SweetHome3D $PKG/usr/bin
|
cp -a SweetHome3D $PKG/usr/bin
|
||||||
|
|
||||||
|
# Set program location and use global java
|
||||||
sed -i $PKG/usr/bin/SweetHome3D \
|
sed -i $PKG/usr/bin/SweetHome3D \
|
||||||
-e "s,\"\$PROGRAM_DIR\"/jre1.6.0_37/bin/java,/usr/lib${LIBDIRSUFFIX}/java/bin/java,g" \
|
-e "s,\"\$PROGRAM_DIR\"/jre1.6.0_45/bin/java,/usr/lib${LIBDIRSUFFIX}/java/bin/java,g" \
|
||||||
-e "s,\"\$PROGRAM_DIR\"/jre1.6.0_37/lib,/usr/lib${LIBDIRSUFFIX}/java/jre/lib,g" \
|
-e "s,\"\$PROGRAM_DIR\"/jre1.6.0_45/lib,/usr/lib${LIBDIRSUFFIX}/java/jre/lib,g" \
|
||||||
-e "s,\"\$PROGRAM_DIR\"/lib,/usr/share/$PRGNAM,g"
|
-e "s,\"\$PROGRAM_DIR\"/lib,/usr/share/$PRGNAM,g"
|
||||||
|
|
||||||
mkdir -p $PKG/usr/share/$PRGNAM
|
mkdir -p $PKG/usr/share/$PRGNAM
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="SweetHome3D"
|
PRGNAM="SweetHome3D"
|
||||||
VERSION="3.7"
|
VERSION="4.1"
|
||||||
HOMEPAGE="http://www.sweethome3d.com/"
|
HOMEPAGE="http://www.sweethome3d.com/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-3.7/SweetHome3D-3.7-linux-x86.tgz"
|
DOWNLOAD="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-4.1/SweetHome3D-4.1-linux-x86.tgz"
|
||||||
MD5SUM="cfc2ff64872efd12f50aa2e1369086bd"
|
MD5SUM="d2ac85a2b3376caa694f379513bffa5d"
|
||||||
DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-3.7/SweetHome3D-3.7-linux-x64.tgz"
|
DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-4.1/SweetHome3D-4.1-linux-x64.tgz"
|
||||||
MD5SUM_x86_64="635c60ae9f86d44b0472f3f48522502b"
|
MD5SUM_x86_64="d51b2a020557e32e30ee2b11613a52c1"
|
||||||
REQUIRES="jdk"
|
REQUIRES="jdk"
|
||||||
MAINTAINER="Edward W. Koenig"
|
MAINTAINER="Edward W. Koenig"
|
||||||
EMAIL="kingbeowulf@gmail.com"
|
EMAIL="kingbeowulf@gmail.com"
|
||||||
|
|
Loading…
Reference in a new issue