Package Details: android-studio-for-platform 2023.2.1.20-1

Git Clone URL: https://aur.archlinux.org/android-studio-for-platform.git (read-only, click to copy)
Package Base: android-studio-for-platform
Description: The official Android IDE for Platform Development
Upstream URL: https://developer.android.com/studio/platform
Licenses: Apache
Submitter: Tortel1210
Maintainer: Tortel1210
Last Packager: Tortel1210
Votes: 2
Popularity: 0.115885
First Submitted: 2023-09-12 21:17 (UTC)
Last Updated: 2024-01-25 20:49 (UTC)

Latest Comments

Eterocell commented on 2024-09-19 09:32 (UTC) (edited on 2024-09-19 09:37 (UTC) by Eterocell)

It seems that we have an update for asfp, I am able to build AI-241.18034.62.2412.12047262 with the following changes in PKGBUILD:

diff --git a/.SRCINFO b/.SRCINFO
index ebb517e..8fd177f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = android-studio-for-platform
        pkgdesc = The official Android IDE for Platform Development
-       pkgver = 2023.2.1.20
+       pkgver = current
        pkgrel = 1
        url = https://developer.android.com/studio/platform
        arch = x86_64
@@ -14,10 +14,10 @@ pkgbase = android-studio-for-platform
        optdepends = libgl: emulator support
        optdepends = ncurses5-compat-libs: native debugger support
        options = !strip
-       source = https://dl.google.com/android/asfp/asfp-2023.2.1.20-linux.deb
+       source = https://dl.google.com/android/asfp/asfp-current-linux.deb
        source = android-studio-for-platform.desktop
        source = license.html
-       sha256sums = 70cfe9912821a8b514bc9545fce54b0cec550499492c7f207b56df66d0d47a06
+       sha256sums = 2a8abf66b9b8022cb466369873a4a25c42001549f3be47e5f0d2985ac8a3b618
        sha256sums = 7d8615a69925b0685775546873997bdb967426e24b4fc265d120a04dc8367dda
        sha256sums = 9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e

diff --git a/PKGBUILD b/PKGBUILD
index ed01a32..4445fff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
 # Maintainer: Scott Warner <Tortel1210-at-gmail-dot-com>

 pkgname=android-studio-for-platform
-pkgver=2023.2.1.20
+pkgver=current
 pkgrel=1
 pkgdesc="The official Android IDE for Platform Development"
 arch=('x86_64')
@@ -24,16 +24,16 @@ optdepends=('gtk2: GTK+ look and feel'
             'ncurses5-compat-libs: native debugger support')
 options=('!strip')

-# https://dl.google.com/android/asfp/asfp-2023.1.1.19-linux.deb
-source=("https://dl.google.com/android/asfp/asfp-$pkgver-linux.deb"
+source=("https://dl.google.com/android/asfp/asfp-current-linux.deb"
         "$pkgname.desktop"
         "license.html")
-sha256sums=('70cfe9912821a8b514bc9545fce54b0cec550499492c7f207b56df66d0d47a06'
+sha256sums=('2a8abf66b9b8022cb466369873a4a25c42001549f3be47e5f0d2985ac8a3b618'
             '7d8615a69925b0685775546873997bdb967426e24b4fc265d120a04dc8367dda'
             '9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')

 package() {
-  bsdtar -xf data.tar.xz -C "$pkgdir/"
+  bsdtar -xf data.tar.gz -C "$pkgdir/"
+  mv "$pkgdir/tmp" "$pkgdir/opt"

   # Install the application
   install -d $pkgdir/{opt/$pkgname,usr/bin}

Tortel1210 commented on 2024-02-28 21:07 (UTC)

Even though ASFP may say there is a new version available, it is only checking for general Studio releases, not the for Platform version

Tortel1210 commented on 2023-11-28 03:50 (UTC)

Thanks, pushed an update to change that

dnl_tp commented on 2023-11-06 10:45 (UTC) (edited on 2023-11-06 10:45 (UTC) by dnl_tp)

the android-studio-for-platform.desktop file has the same value StartupWMClass=jetbrains-studio as regular Android Studio... if you have both installed and start regular Android Studio it will show the ASFP icon... migh want to change the value for this one into something like StartupWMClass=jetbrains-studio-platform