android-studio: update to 3.1.2.

This commit is contained in:
Piotr Wójcik 2018-05-18 16:25:56 +02:00 committed by Enno Boland
parent 5d0773d0c1
commit e7dbb87fe7
3 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Android Studio
Exec=android-studio
Icon=/opt/android-studio/bin/studio.png
Terminal=false
Categories=Development

View File

@ -1,10 +1,10 @@
# Template file for 'android-studio'
pkgname=android-studio
version=3.0.1
revision=2
version=3.1.2
revision=1
# _studio_build and _studio_rev are for downloading the zip from dl.google.com
# https://developer.android.com/studio/index.html#resources as of 2017-07-04
_studio_build=171.4443003
_studio_build=173.4720617
_studio_rev=0
# changlelog="https://developer.android.com/studio/releases/index.html"
create_wrksrc=yes
@ -16,7 +16,7 @@ maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
repository=nonfree
only_for_archs="x86_64 i686"
distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.zip"
checksum=ad7110ed2ffc662b7a13efa5064390c8e8e74815d8c688351bd8829331852acf
checksum=13f290279790df570bb6592f72a979a495f7591960a378abea7876ece7252ec1
license="Apache-2.0"
homepage="http://tools.android.com/"
nopie=yes
@ -39,5 +39,6 @@ do_install() {
vcopy android-studio/plugins opt/${pkgname}/
vmkdir usr/bin
ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
chmod -R ugo+rX ${DESTDIR}/opt
}

View File

@ -0,0 +1,2 @@
site="https://developer.android.com/studio/releases/index.html"
pattern=">\K[\d.]+(?= \(\w+ \d+\)</)"