aboutsummaryrefslogtreecommitdiff
path: root/development/android-studio
diff options
context:
space:
mode:
authorRoberto Metere <roberto@metere.it>2017-06-30 13:07:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-30 13:07:27 +0700
commite7a9adca1180c2bf20a17ce0e8c492909ce8fb1c (patch)
tree2a20ebc9ff70e73ee328e02329862935fa6da3d8 /development/android-studio
parent53a298c920df54eb62bbbbf59b7a04f425bc8c55 (diff)
development/android-studio: Updated for version 2.3.3.0_162_4069837.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/android-studio')
-rw-r--r--development/android-studio/android-studio.SlackBuild30
-rw-r--r--development/android-studio/android-studio.info6
2 files changed, 18 insertions, 18 deletions
diff --git a/development/android-studio/android-studio.SlackBuild b/development/android-studio/android-studio.SlackBuild
index bfd8047e0ee7..5aab0e451560 100644
--- a/development/android-studio/android-studio.SlackBuild
+++ b/development/android-studio/android-studio.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=android-studio
-VERSION=${VERSION:-2.3.2.0_162_3934792}
+VERSION=${VERSION:-2.3.3.0_162_4069837}
SRCVER=$(echo ${VERSION#*_} | sed 's/_/./')
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,8 +43,8 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-mkdir -p $PKG/usr/share
-cd $PKG/usr/share/
+mkdir -p $PKG/opt
+cd $PKG/opt/
unzip $CWD/$PRGNAM-ide-${SRCVER}-linux.zip
cd $PKG
@@ -52,26 +52,26 @@ cd $PKG
# Make and install launchers
#
mkdir -p $PKG/usr/share/applications
-install -D -m 644 $PKG/usr/share/android-studio/bin/studio.png $PKG/usr/share/pixmaps/android-studio.png
+install -D -m 644 $PKG/opt/android-studio/bin/studio.png $PKG/usr/share/pixmaps/android-studio.png
install -D -m 644 $CWD/android-studio.desktop $PKG/usr/share/applications/android-studio.desktop
mkdir -p $PKG/usr/bin
(
- cd $PKG/usr/bin
- for i in $(find $PKG/usr/share/ -executable -type f | grep -v -e "\.sh$")
- do
- if [ ! -e "$PKG/usr/bin/$(basename $i)" -a ! -h "$PKG/usr/bin/$(basename $i)" ]
- then
- ln -s ../share/$PRGNAM/bin/$(basename $i) .
- fi
- done
- ln -s ../share/$PRGNAM/bin/studio.sh $PRGNAM
- ln -s ../share/$PRGNAM/bin/inspect.sh $PRGNAM-inspect
+ cd $PKG/usr/bin
+ for i in $(find $PKG/opt/ -executable -type f | grep -v -e "\.sh$")
+ do
+ if [ ! -e "$PKG/usr/bin/$(basename $i)" -a ! -h "$PKG/usr/bin/$(basename $i)" ]
+ then
+ ln -s ../../opt/$PRGNAM/bin/$(basename $i) .
+ fi
+ done
+ ln -s ../../opt/$PRGNAM/bin/studio.sh $PRGNAM
+ ln -s ../../opt/$PRGNAM/bin/inspect.sh $PRGNAM-inspect
)
# Adjust ownerships and permissions
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-chmod +x usr/share/$PRGNAM/bin/studio.sh usr/share/$PRGNAM/bin/inspect.sh
+chmod +x opt/$PRGNAM/bin/studio.sh opt/$PRGNAM/bin/inspect.sh
cd
diff --git a/development/android-studio/android-studio.info b/development/android-studio/android-studio.info
index de89adbf50cb..34e50869e4df 100644
--- a/development/android-studio/android-studio.info
+++ b/development/android-studio/android-studio.info
@@ -1,8 +1,8 @@
PRGNAM="android-studio"
-VERSION="2.3.2.0_162_3934792"
+VERSION="2.3.3.0_162_4069837"
HOMEPAGE="https://developer.android.com/studio/index.html"
-DOWNLOAD="https://dl.google.com/dl/android/studio/ide-zips/2.3.2.0/android-studio-ide-162.3934792-linux.zip"
-MD5SUM="52c376659815ad3f9a9c4729608d04f6"
+DOWNLOAD="https://dl.google.com/dl/android/studio/ide-zips/2.3.3.0/android-studio-ide-162.4069837-linux.zip"
+MD5SUM="53692bc4b59ebc75982bc00ffb40efa3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""