diff options
Diffstat (limited to 'system/jdiskreport')
-rw-r--r-- | system/jdiskreport/doinst.sh | 10 | ||||
-rw-r--r-- | system/jdiskreport/jdiskreport.SlackBuild | 6 | ||||
-rw-r--r-- | system/jdiskreport/jdiskreport.info | 8 |
3 files changed, 18 insertions, 6 deletions
diff --git a/system/jdiskreport/doinst.sh b/system/jdiskreport/doinst.sh new file mode 100644 index 0000000000000..1f8ff67dedb29 --- /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 580b6546fbbbf..1d83009419ae4 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 a1adb2fa815e6..60ed2d6581d92 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" |