summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2012-04-15 22:31:52 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-16 05:36:01 -0500
commit160bb34e189d137dd74b72864cb4312d6e4b544d (patch)
treeb6c890b4eadc9b4868a23ba5c66fffe08c02f5d9 /system
parentf17fe4dfcf86e603e813c9baab438aaec9c16790 (diff)
downloadslackbuilds-160bb34e189d137dd74b72864cb4312d6e4b544d.tar.gz
system/jdiskreport: Updated for version 1.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/jdiskreport/doinst.sh10
-rw-r--r--system/jdiskreport/jdiskreport.SlackBuild6
-rw-r--r--system/jdiskreport/jdiskreport.info8
3 files changed, 18 insertions, 6 deletions
diff --git a/system/jdiskreport/doinst.sh b/system/jdiskreport/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/system/jdiskreport/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/system/jdiskreport/jdiskreport.SlackBuild b/system/jdiskreport/jdiskreport.SlackBuild
index 580b6546fb..1d83009419 100644
--- a/system/jdiskreport/jdiskreport.SlackBuild
+++ b/system/jdiskreport/jdiskreport.SlackBuild
@@ -27,9 +27,10 @@
# Build history:
#
# 1 - Initial release.
+# 20120404 - Updated for version 1.4.0
PRGNAM=jdiskreport
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -67,7 +68,7 @@ install -m0644 "$CWD/jdiskreport.desktop" $PKG/usr/share/applications
cat > $PKG/usr/bin/jdiskreport << END
#!/bin/sh
-java -jar /opt/jdiskreport/jdiskreport-$VERSION.jar $@
+java -jar /opt/jdiskreport/jdiskreport-$VERSION.jar "$@"
END
@@ -81,6 +82,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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/system/jdiskreport/jdiskreport.info b/system/jdiskreport/jdiskreport.info
index a1adb2fa81..60ed2d6581 100644
--- a/system/jdiskreport/jdiskreport.info
+++ b/system/jdiskreport/jdiskreport.info
@@ -1,10 +1,10 @@
PRGNAM="jdiskreport"
-VERSION="1.3.2"
+VERSION="1.4.0"
HOMEPAGE="http://www.jgoodies.com/freeware/jdiskreport/"
-DOWNLOAD="http://www.jgoodies.com/download/jdiskreport/jdiskreport-1_3_2.zip"
-MD5SUM="1528c001529947487c1853fa32052cae"
+DOWNLOAD="http://www.jgoodies.com/download/jdiskreport/jdiskreport-1_4_0.zip"
+MD5SUM="706aa8afc721d25992f154ddbf2aeefe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"
-APPROVED="Niels Horn"
+APPROVED="dsomero"