1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-23 23:01:05 +01:00

android-sdk-cmdline-tools: 11076708

This commit is contained in:
Jozef Steinhübl 2024-08-28 07:01:42 +02:00
parent 5576b24025
commit aa1936ae2f
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
3 changed files with 27 additions and 0 deletions

View file

@ -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"

View file

@ -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"

View 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"
}