aboutsummaryrefslogtreecommitdiff
path: root/gis/josm/josm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/josm/josm.SlackBuild')
-rw-r--r--gis/josm/josm.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/gis/josm/josm.SlackBuild b/gis/josm/josm.SlackBuild
index e988611a32c7e..4e5dfa72ff36d 100644
--- a/gis/josm/josm.SlackBuild
+++ b/gis/josm/josm.SlackBuild
@@ -1,14 +1,14 @@
#!/bin/sh
# Slackware java packaging script for josm
#
-# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+# Michales - clavisound - Michaloudes korgie@gmail.com <2012-2017>
#
-# If you want to extract the version from an download
+# For latest verion download
# http://josm.openstreetmap.de/download/josm-tested.jar
-# execute the script passing it VERSION=tested
+# execute the script with VERSION=tested
PRGNAM=josm
-VERSION=${VERSION:-11526}
+VERSION=${VERSION:-12450}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,7 @@ cat > $PKG/usr/bin/$PRGNAM << EOF
java -jar /opt/$PRGNAM/$PRGNAM.jar
EOF
chmod 755 $PKG/usr/bin/$PRGNAM
+chmod 755 $PKG/opt/$PRGNAM/$PRGNAM.jar
# cp KDE desktop icon
mkdir -p $PKG/usr/share/applications