diff options
author | Roberto Metere <roberto@metere.it> | 2016-12-01 16:40:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-01 16:40:09 +0700 |
commit | a1dab4e2b5267c7851b69b8046b36b80efae63ae (patch) | |
tree | 0fe1e797d4e454eb269a79a58e8a8e897ede5383 /development/android-studio | |
parent | 460f413533b5542f48cf1c29c7af313068617e93 (diff) |
development/android-studio: Updated for version 2.2.2.0_145_3360264.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/android-studio')
-rw-r--r-- | development/android-studio/android-studio.SlackBuild | 22 | ||||
-rw-r--r-- | development/android-studio/android-studio.desktop | 2 | ||||
-rw-r--r-- | development/android-studio/android-studio.info | 6 |
3 files changed, 19 insertions, 11 deletions
diff --git a/development/android-studio/android-studio.SlackBuild b/development/android-studio/android-studio.SlackBuild index b6d5bd4563707..32631c9f2dd65 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.1.2.0_143_2915827} +VERSION=${VERSION:-2.2.2.0_145_3360264} SRCVER=$(echo ${VERSION#*_} | sed 's/_/./') BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,6 +46,7 @@ mkdir -p $TMP $PKG $OUTPUT mkdir -p $PKG/usr/share cd $PKG/usr/share/ unzip $CWD/$PRGNAM-ide-${SRCVER}-linux.zip +cd $PKG # # Make and install launchers @@ -53,16 +54,23 @@ unzip $CWD/$PRGNAM-ide-${SRCVER}-linux.zip mkdir -p $PKG/usr/share/applications install -D -m 644 $CWD/android-studio.desktop $PKG/usr/share/applications/android-studio.desktop mkdir -p $PKG/usr/bin -for i in $(find $PWD -executable -type f | grep -v -e "\.sh$") -do - ln -s /usr/share/$PRGNAM/bin/$(basename $i) ../bin/. -done -ln -s /usr/share/$PRGNAM/bin/studio.sh ../bin/$PRGNAM -ln -s /usr/share/$PRGNAM/bin/inspect.sh ../bin/$PRGNAM-inspect +( + 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 +) # 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 cd diff --git a/development/android-studio/android-studio.desktop b/development/android-studio/android-studio.desktop index 79f20d98e8bdc..ca7048aea844d 100644 --- a/development/android-studio/android-studio.desktop +++ b/development/android-studio/android-studio.desktop @@ -3,7 +3,7 @@ Name=Android Studio GenericName=Android IDE Comment=Android development environment based on IntelliJ IDEA Exec=/usr/share/android-studio/bin/studio.sh -Icon=/usr/share/android-studio/bin/studio.ico +Icon=/usr/share/android-studio/bin/studio.png Path=/usr/share/android-studio/bin/ Type=Application Categories=Development;Android diff --git a/development/android-studio/android-studio.info b/development/android-studio/android-studio.info index 79f9e72a5c779..f67efa085b7be 100644 --- a/development/android-studio/android-studio.info +++ b/development/android-studio/android-studio.info @@ -1,8 +1,8 @@ PRGNAM="android-studio" -VERSION="2.1.2.0_143_2915827" +VERSION="2.2.2.0_145_3360264" HOMEPAGE="http://developer.android.com/tools/studio/index.html" -DOWNLOAD="https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip" -MD5SUM="efb02121791b10216e41ee17c311761d" +DOWNLOAD="https://dl.google.com/dl/android/studio/ide-zips/2.2.2.0/android-studio-ide-145.3360264-linux.zip" +MD5SUM="2ee9429d73815c3420ed4256143eec09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" |