makedeb
The official Android IDE (Stable branch)
Click here to go back to the commit logs for android-studio.
Hash: fc7d5dadcdfe9c3917daf9c86c1e68f6aeeccc22
Message: Upgraded to 2021.1.1.22
diff --git a/.SRCINFO b/.SRCINFO
index 5f4d6bf..d6c0e5b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+generated-by = makedeb-makepkg
+
pkgbase = android-studio
pkgdesc = The official Android IDE (Stable branch)
- pkgver = 2020.3.1.26
+ pkgver = 2021.1.1.22
pkgrel = 1
url = https://developer.android.com/
arch = i686
@@ -13,10 +15,10 @@ pkgbase = android-studio
optdepends = gtk2: GTK+ look and feel
optdepends = libGL: emulator support
options = !strip
- source = https://dl.google.com/dl/android/studio/ide-zips/2020.3.1.26/android-studio-2020.3.1.26-linux.tar.gz
+ source = https://dl.google.com/dl/android/studio/ide-zips/2021.1.1.22/android-studio-2021.1.1.22-linux.tar.gz
source = android-studio.desktop
source = license.html
- sha256sums = 344d858235ed5d3095ac25916a4a8f8730069f76e5a5fd0eba02522af88f541b
+ sha256sums = a9a5eaffe1873c684b99786db482d3b11fcbc003a773634f8e740c7bca148539
sha256sums = 73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4
sha256sums = 9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e
diff --git a/PKGBUILD b/PKGBUILD
index 96cc54b..aab2054 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,11 +7,13 @@
# Contributor: Philippe Hürlimann <p@hurlimann.org>
# Contributor: Kordian Bruck <k@bruck.me>
# Maintainer: theglitchh <souravgope765@gmail.com>
+# Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>
-pkgname=android-studio
-pkgver=2020.3.1.26
-pkgrel=1
-_build=202.7486908
+
+pkgname="android-studio"
+pkgver="2021.1.1.22"
+pkgrel="1"
+_build="202.7486908"
pkgdesc="The official Android IDE (Stable branch)"
arch=('i686' 'x86_64')
url="https://developer.android.com/"
@@ -21,32 +23,32 @@ depends=('libasound2' 'freetype2-demos' 'libxrender-dev' 'libxtst6')
optdepends=('gtk2: GTK+ look and feel'
'libGL: emulator support')
options=('!strip')
-source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-$pkgver-linux.tar.gz"
- "$pkgname.desktop"
+source=("https://dl.google.com/dl/android/studio/ide-zips/${pkgver}/android-studio-${pkgver}-linux.tar.gz"
+ "${pkgname}.desktop"
"license.html")
-sha256sums=('344d858235ed5d3095ac25916a4a8f8730069f76e5a5fd0eba02522af88f541b'
+sha256sums=('a9a5eaffe1873c684b99786db482d3b11fcbc003a773634f8e740c7bca148539'
'73cd2dde1d0f99aaba5baad1e2b91c834edd5db3c817f6fb78868d102360d3c4'
'9a7563f7fb88c9a83df6cee9731660dc73a039ab594747e9e774916275b2e23e')
-if [ "$CARCH" = "i686" ]; then
+if [ "${CARCH}" = "i686" ]; then
depends+=('java-environment')
fi
package() {
- cd $srcdir/$pkgname
+ cd "${srcdir}/${pkgname}"
# Install the application
- install -d $pkgdir/{opt/$pkgname,usr/bin}
- cp -a bin lib jre plugins license LICENSE.txt build.txt product-info.json $pkgdir/opt/$pkgname
- ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname
+ install -d ${pkgdir}/{opt/${pkgname},usr/bin}
+ cp -a "bin" "lib" "jre" "plugins" "license" "LICENSE.txt" "build.txt" "product-info.json" "${pkgdir}/opt/${pkgname}"
+ ln -s "/opt/android-studio/bin/studio.sh" "${pkgdir}/usr/bin/${pkgname}"
# Copy licenses
- install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
- install -Dm644 $srcdir/license.html "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+ install -Dm644 "${srcdir}/license.html" "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
# Add the icon and desktop file
- install -Dm644 bin/studio.png $pkgdir/usr/share/pixmaps/$pkgname.png
- install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ install -Dm644 "bin/studio.png" "${pkgdir}/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- chmod -R ugo+rX $pkgdir/opt
+ chmod -R ugo+rX "${pkgdir}/opt"
}