system/jdiskreport: Updated for version 1.4.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alan Alberghini 2014-04-24 07:32:42 +07:00 committed by Erik Hanson
parent 8629517697
commit 220d8d38ad
2 changed files with 11 additions and 12 deletions

View file

@ -29,10 +29,11 @@
# 1 - Initial release.
# 20120404 - Updated for version 1.4.0
# 20121211 - Corrected "$@" to "\$@" in the /usr/bin script creation
# 20140423 - Updated for version 1.4.1
PRGNAM=jdiskreport
VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@ -54,10 +55,10 @@ unzip -a "$CWD/$PRGNAM-$(echo $VERSION | tr . _).zip"
cd $PRGNAM-$VERSION
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/opt/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/share/applications \
$PKG/usr/share/pixmaps $PKG/usr/bin
@ -77,9 +78,7 @@ END
#... and mark it executable
chmod 755 $PKG/usr/bin/jdiskreport
cp -a \
$DOCS \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="jdiskreport"
VERSION="1.4.0"
VERSION="1.4.1"
HOMEPAGE="http://www.jgoodies.com/freeware/jdiskreport/"
DOWNLOAD="http://www.jgoodies.com/download/jdiskreport/jdiskreport-1_4_0.zip"
MD5SUM="706aa8afc721d25992f154ddbf2aeefe"
DOWNLOAD="http://www.jgoodies.com/download/jdiskreport/jdiskreport-1_4_1.zip"
MD5SUM="9380a6ba68bd21e0f09b58297eb5a44a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"