aboutsummaryrefslogtreecommitdiff
path: root/graphics/SweetHome3D/SweetHome3D.SlackBuild
diff options
context:
space:
mode:
authorGiovanne Castro <giovannefc@ig.com.br>2010-12-27 12:45:43 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:58 -0200
commit28088a7aa31d98124402b8de07999a7091c4fbf8 (patch)
treef920d48ded209e10f0821434664ed0ad99b45600 /graphics/SweetHome3D/SweetHome3D.SlackBuild
parentce67cb4dc0bc5b5d1e37a3206e011d3d2deb22a6 (diff)
graphics/SweetHome3D: Updated for version 3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/SweetHome3D/SweetHome3D.SlackBuild')
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index 56d2e384070bb..0a2aeb7284cc3 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -23,11 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=SweetHome3D
-VERSION=${VERSION:-2.6}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -75,8 +74,8 @@ mkdir -p $PKG/usr/bin
cp -a SweetHome3D $PKG/usr/bin
# Fix path for java and libs of SweetHome3D
-sed -i "s/\"\$PROGRAM_DIR\"\/jre1.6.0_21\/bin\/java/\/usr\/lib${LIBDIRSUFFIX}\/java\/bin\/java/g" $PKG/usr/bin/$PRGNAM
-sed -i "s/\"\$PROGRAM_DIR\"\/jre1.6.0_21\/lib/\/usr\/lib${LIBDIRSUFFIX}\/java\/lib/g" $PKG/usr/bin/$PRGNAM
+sed -i "s/\"\$PROGRAM_DIR\"\/jre1.6.0_22\/bin\/java/\/usr\/lib${LIBDIRSUFFIX}\/java\/bin\/java/g" $PKG/usr/bin/$PRGNAM
+sed -i "s/\"\$PROGRAM_DIR\"\/jre1.6.0_22\/lib/\/usr\/lib${LIBDIRSUFFIX}\/java\/lib/g" $PKG/usr/bin/$PRGNAM
sed -i "s/\"\$PROGRAM_DIR\"\/lib/\/usr\/lib${LIBDIRSUFFIX}\/$PRGNAM/g" $PKG/usr/bin/$PRGNAM
# Copy libraries of program