aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-01-20 09:20:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-20 19:35:27 +0700
commit5353d82b3a9abb1ab667cc488d195083649440f1 (patch)
tree025003d627cdcb19eb47e0dde75c88ddc6064ac3
parent6027bb5a54cda3fab90ba9d741135732e6e2f1d8 (diff)
development/netbeans: Updated for version 8.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/netbeans/doinst.sh7
-rw-r--r--development/netbeans/netbeans.SlackBuild4
-rw-r--r--development/netbeans/netbeans.info6
3 files changed, 7 insertions, 10 deletions
diff --git a/development/netbeans/doinst.sh b/development/netbeans/doinst.sh
index 36cc15779d2a9..75b1c69fe1efe 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 c1627219d097f..c79f77441d3eb 100644
--- a/development/netbeans/netbeans.SlackBuild
+++ b/development/netbeans/netbeans.SlackBuild
@@ -26,13 +26,13 @@
# Updated by Andre Barboza <bmg.andre@gmail.com>
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 26c694b7657da..d3889029c94de 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"