aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 28bc911fdd2e8..0eddf238c2e57 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 773e2ab00dc11..062a170a0303a 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"