aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bfd8047e0ee78..5aab0e4515600 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 de89adbf50cbd..34e50869e4dfa 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=""