summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2013-06-22 17:06:50 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-22 17:06:50 -0300
commitdf07b8e3e5dda9162e111027c92ab2d5cbdb7e10 (patch)
treeaa14c9a0eb8d11613d93b9227a6f2e1214def883 /graphics
parent31779afdc03e212665c6346bd7b812f8581ff0cd (diff)
downloadslackbuilds-df07b8e3e5dda9162e111027c92ab2d5cbdb7e10.tar.gz
graphics/SweetHome3D: Updated for version 4.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild14
-rw-r--r--graphics/SweetHome3D/SweetHome3D.info10
2 files changed, 15 insertions, 9 deletions
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index 28bc911fdd..0eddf238c2 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for SweetHome3D
# 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.
#
# 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
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# 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
-VERSION=${VERSION:-3.7}
+VERSION=${VERSION:-4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +59,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -72,9 +77,10 @@ find . \
mkdir -p $PKG/usr/bin
cp -a SweetHome3D $PKG/usr/bin
+# Set program location and use global java
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_37/lib,/usr/lib${LIBDIRSUFFIX}/java/jre/lib,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_45/lib,/usr/lib${LIBDIRSUFFIX}/java/jre/lib,g" \
-e "s,\"\$PROGRAM_DIR\"/lib,/usr/share/$PRGNAM,g"
mkdir -p $PKG/usr/share/$PRGNAM
diff --git a/graphics/SweetHome3D/SweetHome3D.info b/graphics/SweetHome3D/SweetHome3D.info
index 773e2ab00d..062a170a03 100644
--- a/graphics/SweetHome3D/SweetHome3D.info
+++ b/graphics/SweetHome3D/SweetHome3D.info
@@ -1,10 +1,10 @@
PRGNAM="SweetHome3D"
-VERSION="3.7"
+VERSION="4.1"
HOMEPAGE="http://www.sweethome3d.com/"
-DOWNLOAD="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-3.7/SweetHome3D-3.7-linux-x86.tgz"
-MD5SUM="cfc2ff64872efd12f50aa2e1369086bd"
-DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-3.7/SweetHome3D-3.7-linux-x64.tgz"
-MD5SUM_x86_64="635c60ae9f86d44b0472f3f48522502b"
+DOWNLOAD="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-4.1/SweetHome3D-4.1-linux-x86.tgz"
+MD5SUM="d2ac85a2b3376caa694f379513bffa5d"
+DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-4.1/SweetHome3D-4.1-linux-x64.tgz"
+MD5SUM_x86_64="d51b2a020557e32e30ee2b11613a52c1"
REQUIRES="jdk"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"