blob: 607fe5ccfea7403df32d8672a735b822ee10c7a9 (
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
|
# Maintainer: Hai Zhang <dreaming.in.code.zh@gmail.com>
# Taken from android-sdk
_pkgname=android-sdk
pkgname="${_pkgname}-dummy"
pkgver=26.1.1
pkgrel=1
_pkgdesc='Google Android SDK'
pkgdesc="${_pkgdesc}, dummy package"
arch=('i686' 'x86_64')
url='https://developer.android.com/studio/releases/sdk-tools.html'
license=('custom')
depends_i686=('java-environment' 'libxtst' 'fontconfig' 'freetype2' 'gcc-libs'
'libx11' 'libxext' 'libxrender' 'zlib')
depends_x86_64=('java-environment' 'libxtst' 'fontconfig' 'freetype2'
'lib32-gcc-libs' 'lib32-glibc' 'libx11' 'libxext' 'libxrender'
'zlib')
optdepends=('android-emulator: emulator has become standalone since 25.3.0'
'android-sdk-platform-tools: adb, aapt, aidl, dexdump and dx'
'android-udev: udev rules for Android devices')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
install="${pkgname}.install"
source=("${_pkgname}.sh::https://aur.archlinux.org/cgit/aur.git/plain/${_pkgname}.sh?h=${_pkgname}"
"${_pkgname}.csh::https://aur.archlinux.org/cgit/aur.git/plain/${_pkgname}.csh?h=${_pkgname}"
"${_pkgname}.conf::https://aur.archlinux.org/cgit/aur.git/plain/${_pkgname}.conf?h=${_pkgname}"
"license.html::https://aur.archlinux.org/cgit/aur.git/plain/license.html?h=${_pkgname}")
sha1sums=('bc48fea40da956ce4d1afdd7e8d378f5b120e65c'
'71bfc50d6b0ea1650c981b24f358020ad2ca7bd6'
'145bdf3eb41a56574b289c1577a24bc47097ec83'
'bfb91be7e0b602d765b7a1fcaf0ce1b7e1a93faa')
package() {
install -Dm755 "${_pkgname}.sh" "${pkgdir}/etc/profile.d/${_pkgname}.sh"
install -Dm755 "${_pkgname}.csh" "${pkgdir}/etc/profile.d/${_pkgname}.csh"
install -Dm644 "${_pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf"
install -Dm644 license.html "${pkgdir}/usr/share/licenses/${_pkgname}/license.html"
}
|