summaryrefslogtreecommitdiff
path: root/graphics/SweetHome3D/SweetHome3D.SlackBuild
diff options
context:
space:
mode:
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 56d2e38407..0a2aeb7284 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