mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-12 18:08:06 +01:00
android-sdk-cmdline-tools: 11076708
This commit is contained in:
parent
5576b24025
commit
aa1936ae2f
3 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
setenv ANDROID_HOME '/opt/android-sdk'
|
||||
setenv ANDROID_SDK_ROOT '/opt/android-sdk'
|
||||
setenv PATH "${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin"
|
|
@ -0,0 +1,3 @@
|
|||
export ANDROID_HOME='/opt/android-sdk'
|
||||
export ANDROID_SDK_ROOT='/opt/android-sdk'
|
||||
export PATH="${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin"
|
21
srcpkgs/android-sdk-cmdline-tools/template
Normal file
21
srcpkgs/android-sdk-cmdline-tools/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'android-sdk-cmdline-tools'
|
||||
pkgname=android-sdk-cmdline-tools
|
||||
version=11076708
|
||||
revision=1
|
||||
depends="virtual?java-environment"
|
||||
short_desc="Android SDK Command-line Tools (latest)"
|
||||
maintainer="Jozef Steinhübl <xhyrom.hyro@gmail.com>"
|
||||
license="custom"
|
||||
homepage="https://developer.android.com/studio"
|
||||
distfiles="https://dl.google.com/android/repository/commandlinetools-linux-${version}_latest.zip"
|
||||
checksum=2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
|
||||
|
||||
restricted=yes
|
||||
|
||||
do_install() {
|
||||
vmkdir "opt/android-sdk/cmdline-tools/latest"
|
||||
|
||||
vcopy "*" "opt/android-sdk/cmdline-tools/latest"
|
||||
vinstall "${FILESDIR}/${pkgname}.sh" 755 "etc/profile.d"
|
||||
vinstall "${FILESDIR}/${pkgname}.csh" 755 "etc/profile.d"
|
||||
}
|
Loading…
Reference in a new issue