blob: d26f96f72d48cd14b6ba8a240ca2830496aaccb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Co-Maintainer: tilal6991 <lalitmaganti@gmail.com>
# Co-Maintainer: vanpra <pranavmaganti@gmail.com>
# Contributor: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: Christoph Brill <egore911-at-gmail-dot-com>
# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
# Contributor: Tad Fisher <tadfisher at gmail dot com>
pkgname=android-studio-canary
pkgver=2.4.0.0
pkgrel=1
_build=171.3804684
pkgdesc="The Official Android IDE. Canary branch"
arch=('i686' 'x86_64')
url="http://tools.android.com/"
license=('APACHE')
makedepends=('unzip')
depends=('freetype2' 'libxrender' 'libxtst')
optdepends=('gtk2: GTK+ look and feel'
'libgl: emulator support')
options=('!strip')
source=("https://dl.google.com/dl/android/studio/ide-zips/$pkgver/android-studio-ide-$_build-linux.zip"
"$pkgname.desktop")
sha256sums=('894cc2204a6a7c9656703d6e77d78f5a0485129cae7a8ce98c510a587e1b90ab'
'698430d3a2b3d6315ae22827e59c89e42c030089499f4e06bc32b3c92b796e35')
if [ "$CARCH" = "i686" ]; then
depends+=('java-environment')
fi
package() {
cd $srcdir/android-studio
# Install the application.
install -d $pkgdir/{opt/$pkgname,usr/bin}
cp -a bin gradle lib jre plugins $pkgdir/opt/$pkgname
ln -s /opt/$pkgname/bin/studio.sh $pkgdir/usr/bin/$pkgname
# 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
chmod -R ugo+rX $pkgdir/opt
}
|