From 5353d82b3a9abb1ab667cc488d195083649440f1 Mon Sep 17 00:00:00 2001 From: Andre Barboza Date: Fri, 20 Jan 2017 09:20:42 +0700 Subject: development/netbeans: Updated for version 8.2. Signed-off-by: Willy Sudiarto Raharjo --- development/netbeans/doinst.sh | 7 ++----- development/netbeans/netbeans.SlackBuild | 4 ++-- development/netbeans/netbeans.info | 6 +++--- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/development/netbeans/doinst.sh b/development/netbeans/doinst.sh index 36cc15779d2a..75b1c69fe1ef 100644 --- a/development/netbeans/doinst.sh +++ b/development/netbeans/doinst.sh @@ -1,14 +1,11 @@ config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then - # toss the redundant copy + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then rm $NEW fi - # Otherwise, we leave the .new copy for the admin to consider... } if [ -x /usr/bin/update-desktop-database ]; then @@ -22,7 +19,7 @@ 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 -f usr/share/icons/hicolor >/dev/null 2>&1 - fi + fi fi config opt/netbeans/etc/netbeans.conf.new diff --git a/development/netbeans/netbeans.SlackBuild b/development/netbeans/netbeans.SlackBuild index c1627219d097..c79f77441d3e 100644 --- a/development/netbeans/netbeans.SlackBuild +++ b/development/netbeans/netbeans.SlackBuild @@ -26,13 +26,13 @@ # Updated by Andre Barboza PRGNAM=netbeans -VERSION=${VERSION:-8.1} +VERSION=${VERSION:-8.2} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} BUNDLE=${BUNDLE:+-$BUNDLE} -DATE="201510222201" +DATE="201609300101" CWD=$(pwd) TMP=${TMP:-/tmp/SBo} diff --git a/development/netbeans/netbeans.info b/development/netbeans/netbeans.info index 26c694b7657d..d3889029c94d 100644 --- a/development/netbeans/netbeans.info +++ b/development/netbeans/netbeans.info @@ -1,8 +1,8 @@ PRGNAM="netbeans" -VERSION="8.1" +VERSION="8.2" HOMEPAGE="http://www.netbeans.org" -DOWNLOAD="http://download.netbeans.org/netbeans/8.1/final/zip/netbeans-8.1-201510222201.zip" -MD5SUM="361ce18421761a057bad5cb6cf7b58f4" +DOWNLOAD="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101.zip" +MD5SUM="9a13fb5e1904f710de764fe56c3c5569" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" -- cgit v1.2.3