1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-14 02:48:06 +01:00

Compare commits

..

2 commits

4 changed files with 29 additions and 2 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"
}

View file

@ -1,7 +1,7 @@
# Template file for 'google-chrome' # Template file for 'google-chrome'
# Official template from https://github.com/void-linux/void-packages/blob/master/srcpkgs/google-chrome/template # Official template from https://github.com/void-linux/void-packages/blob/master/srcpkgs/google-chrome/template
pkgname=google-chrome pkgname=google-chrome
version=126.0.6478.126 version=127.0.6533.99
revision=1 revision=1
_channel=stable _channel=stable
archs="x86_64" archs="x86_64"
@ -12,7 +12,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="custom:chrome" license="custom:chrome"
homepage="https://www.google.com/chrome/" homepage="https://www.google.com/chrome/"
distfiles="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-${_channel}_${version}-1_amd64.deb" distfiles="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-${_channel}_${version}-1_amd64.deb"
checksum=3ec1cadbb55cf66cc51f0421eace324a88836ee2d982b945b8f67a3f131b0924 checksum=a4c18b49a8b80bf5e27c5911994a13446ff77444c62575a125b7b0b5bfeccd58
skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so" skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so"
restricted=yes restricted=yes