aboutsummaryrefslogtreecommitdiff
path: root/academic/jugglinglab
diff options
context:
space:
mode:
authorPetr Kletecka <admin@zonglovani.info>2014-08-18 19:00:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-19 16:39:24 +0700
commit61a847ff3ae455f8f90bac42b4f139dc211b96ab (patch)
tree04cdbf248deb2bf95740972164334a51fd3ce74f /academic/jugglinglab
parenta3ce9e3ba12683ed2b5ed8987651367848c497e5 (diff)
academic/jugglinglab: Updated for version 0.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/jugglinglab')
-rw-r--r--academic/jugglinglab/README4
-rw-r--r--academic/jugglinglab/doinst.sh3
-rw-r--r--academic/jugglinglab/jugglinglab.SlackBuild17
-rw-r--r--academic/jugglinglab/jugglinglab.desktop3
-rw-r--r--academic/jugglinglab/jugglinglab.info6
5 files changed, 17 insertions, 16 deletions
diff --git a/academic/jugglinglab/README b/academic/jugglinglab/README
index 48b98bfce07be..f50b56d55f68f 100644
--- a/academic/jugglinglab/README
+++ b/academic/jugglinglab/README
@@ -1,3 +1,3 @@
Juggling Lab is an application for creating and animating juggling
-patterns. Its main goals are to help people learn juggling patterns
-and to assist in inventing new ones.
+patterns. Its main goals are to help people learn juggling
+patterns, and to assist in inventing new ones.
diff --git a/academic/jugglinglab/doinst.sh b/academic/jugglinglab/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/academic/jugglinglab/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/academic/jugglinglab/jugglinglab.SlackBuild b/academic/jugglinglab/jugglinglab.SlackBuild
index 1bf816251145e..a43b2b0b0c4a2 100644
--- a/academic/jugglinglab/jugglinglab.SlackBuild
+++ b/academic/jugglinglab/jugglinglab.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for Juggling Lab
-# Petr Kletecka admin@zonglovani.info <2013>
+# Petr Kletecka admin@zonglovani.info <2014>
PRGNAM=jugglinglab
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -27,10 +27,10 @@ mv JugglingLab $PRGNAM
cd $PRGNAM
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/jugglinglab
cp -a * $PKG/usr/share/jugglinglab
@@ -41,12 +41,9 @@ cat $CWD/jugglinglab.desktop > $PKG/usr/share/applications/jugglinglab.desktop
mkdir -p $PKG/usr/share/pixmaps
cat $CWD/jugglinglab.png > $PKG/usr/share/pixmaps/jugglinglab.png
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-ln -s ../../share/$PRGNAM/README.html $PKG/usr/doc/$PRGNAM-$VERSION/
-ln -s ../../share/$PRGNAM/COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION/
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/jugglinglab/jugglinglab.desktop b/academic/jugglinglab/jugglinglab.desktop
index aaf66d558ca88..bd7a18d24db9a 100644
--- a/academic/jugglinglab/jugglinglab.desktop
+++ b/academic/jugglinglab/jugglinglab.desktop
@@ -1,7 +1,8 @@
[Desktop Entry]
Version=1.0
Type=Application
-Exec=/usr/share/jugglinglab/JugglingLab.sh
+Encoding=UTF-8
+Exec=/usr/share/jugglinglab/JugglingLab
Icon=jugglinglab
StartupNotify=false
Categories=Education;
diff --git a/academic/jugglinglab/jugglinglab.info b/academic/jugglinglab/jugglinglab.info
index 7900c181ee290..3f55b9112c81e 100644
--- a/academic/jugglinglab/jugglinglab.info
+++ b/academic/jugglinglab/jugglinglab.info
@@ -1,8 +1,8 @@
PRGNAM="jugglinglab"
-VERSION="0.6.1"
+VERSION="0.6.2"
HOMEPAGE="http://jugglinglab.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/jugglinglab/JugglingLab-0.6.1_other.tar.gz"
-MD5SUM="a1272d27ece7596d12b2325463fded9e"
+DOWNLOAD="http://downloads.sourceforge.net/jugglinglab/JugglingLab-0.6.2_other.tar.gz"
+MD5SUM="752a399833f0c78c2a2517ef6fffc46b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"