mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +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
|
||||
|
||||
# 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue