aboutsummaryrefslogtreecommitdiff
path: root/development/android-studio/android-studio.SlackBuild
diff options
context:
space:
mode:
authorRoberto Metere <roberto@metere.it>2015-03-17 07:11:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-18 01:59:38 +0700
commit9ec32a02d44afccc9e7a8fe7fff6269a1c0466a7 (patch)
treef683928f1c2c64341776bc29ebecfd24df9426ba /development/android-studio/android-studio.SlackBuild
parent2286945aa202d0f77fbff88c3f2c2576d126030c (diff)
development/android-studio: Updated for version 1.1.0_135_1740770.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/android-studio/android-studio.SlackBuild')
-rw-r--r--development/android-studio/android-studio.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/development/android-studio/android-studio.SlackBuild b/development/android-studio/android-studio.SlackBuild
index f584a13c3b782..2ed33854e0342 100644
--- a/development/android-studio/android-studio.SlackBuild
+++ b/development/android-studio/android-studio.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=android-studio
-VERSION=${VERSION:-1.0.1_135_1641136}
-SRCVER=${SRCVER:-135.1641136}
+VERSION=${VERSION:-1.1.0_135_1740770}
+SRCVER=${SRCVER:-135.1740770}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,15 +54,14 @@ install -D -m 644 $CWD/android-studio.desktop $PKG/usr/share/applications/androi
mkdir -p $PKG/usr/bin
for i in $(find $PWD -executable -type f | grep -v -e "\.sh$")
do
- ln -s $PKG/usr/share/$PRGNAM/bin/$i $PKG/usr/bin/.
+ ln -s /usr/share/$PRGNAM/bin/$(basename $i) ../bin/.
done
-ln -s $PKG/usr/share/$PRGNAM/bin/studio.sh $PKG/usr/bin/$PRGNAM
-ln -s $PKG/usr/share/$PRGNAM/bin/inspect.sh $PKG/usr/bin/$PRGNAM-inspect
+ln -s /usr/share/$PRGNAM/bin/studio.sh ../bin/$PRGNAM
+ln -s /usr/share/$PRGNAM/bin/inspect.sh ../bin/$PRGNAM-inspect
# Adjust ownerships and permissions
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-chmod +x $PKG/usr/bin/android-studio
cd
mkdir -p $PKG/usr/doc/$PRGNAM-${VERSION}