android-studio: update to 4.1.3.

Also clean up template.
This commit is contained in:
Evgeny Ermakov 2021-03-30 07:50:31 +11:00 committed by Érico Nogueira Rolim
parent d930061787
commit 024c674817
1 changed files with 7 additions and 10 deletions

View File

@ -1,27 +1,28 @@
# Template file for 'android-studio' # Template file for 'android-studio'
pkgname=android-studio pkgname=android-studio
version=4.1.2 version=4.1.3
revision=1 revision=1
# _studio_build and _studio_rev are for downloading the zip from dl.google.com # _studio_build and _studio_rev are for downloading the zip from dl.google.com
# https://developer.android.com/studio/#resources as of 2018-07-12 # https://developer.android.com/studio/#resources as of 2018-07-12
_studio_build=201.7042882 _studio_build=201.7199119
_studio_rev=0 _studio_rev=0
archs="x86_64 i686" archs="x86_64 i686"
create_wrksrc=yes wrksrc="$pkgname"
hostmakedepends="tar" hostmakedepends="tar"
depends="gtk+ virtual?libGL" depends="virtual?libGL"
short_desc="Official Android IDE" short_desc="Official Android IDE"
maintainer="Jordyn Carattini <onlinecloud1@gmail.com>" maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="http://tools.android.com/" homepage="http://tools.android.com"
# changelog="https://developer.android.com/studio/releases/index.html" # changelog="https://developer.android.com/studio/releases/index.html"
distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz" distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
checksum=89f7c3a03ed928edeb7bbb1971284bcb72891a77b4f363557a7ad4ed37652bb9 checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
repository=nonfree repository=nonfree
restricted=yes restricted=yes
python_version=2 python_version=2
nopie=yes nopie=yes
nostrip=yes nostrip=yes
noshlibprovides=yes
# These files are not run or loaded on the host thus skip scanning their runtime deps # These files are not run or loaded on the host thus skip scanning their runtime deps
skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
@ -59,10 +60,6 @@ skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_
/opt/android-studio/plugins/android/lib/libwebp_jni.so /opt/android-studio/plugins/android/lib/libwebp_jni.so
/opt/android-studio/plugins/android/lib/libwebp_jni64.so" /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
do_extract() {
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-ide-${_studio_build}-linux.tar.gz --strip-components=1 -C ${wrksrc}
}
do_install() { do_install() {
vmkdir opt/${pkgname} vmkdir opt/${pkgname}
vcopy bin opt/${pkgname}/ vcopy bin opt/${pkgname}/