google-cloud-sdk: remove package
- anthoscli claimed to be Apache-2.0 without source code (it's fine because of the license) - google-cloud-sdk expects to be lived in $HOME
This commit is contained in:
parent
06bac62ddf
commit
b0302a32aa
3 changed files with 0 additions and 50 deletions
|
@ -1,4 +0,0 @@
|
|||
For bash completions, install the 'bash-completion' package.
|
||||
For zsh completions, put the following code in your ~/.zshrc:
|
||||
|
||||
source /usr/share/google-cloud-sdk/completion.zsh.inc
|
|
@ -1,45 +0,0 @@
|
|||
# Template file for 'google-cloud-sdk'
|
||||
pkgname=google-cloud-sdk
|
||||
version=307.0.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc=$pkgname
|
||||
depends="python3"
|
||||
short_desc="Command-line interface for Google Cloud Platform products and services"
|
||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://cloud.google.com/sdk"
|
||||
changelog="https://cloud.google.com/sdk/docs/release-notes"
|
||||
distfiles="https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/${pkgname}_${version}.orig.tar.gz"
|
||||
checksum=8d78aca594a3a6164e2191c1781e60c142739b09ad552d5a828df56e367df5df
|
||||
python_version=3
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/lib/$pkgname
|
||||
vcopy lib usr/lib/$pkgname
|
||||
vcopy bin usr/lib/$pkgname
|
||||
vcopy data usr/lib/$pkgname
|
||||
vcopy platform usr/lib/$pkgname
|
||||
vcopy .install usr/lib/$pkgname
|
||||
|
||||
vmkdir usr/bin
|
||||
for f in $(find $DESTDIR/usr/lib/$pkgname/bin -maxdepth 1 -type f -exec basename {} \;); do
|
||||
ln -sf ../lib/$pkgname/bin/$f $DESTDIR/usr/bin/$f
|
||||
done
|
||||
|
||||
vmkdir usr/share/$pkgname
|
||||
vcopy 'completion.*.inc' usr/share/google-cloud-sdk
|
||||
|
||||
vmkdir usr/share/bash-completion/completions
|
||||
ln -sf ../../$pkgname/completion.bash.inc $DESTDIR/usr/share/bash-completion/completions/gcloud
|
||||
ln -sf gcloud $DESTDIR/usr/share/bash-completion/completions/gsutil
|
||||
ln -sf gcloud $DESTDIR/usr/share/bash-completion/completions/bq
|
||||
|
||||
for f in help/man/**/*; do
|
||||
vman $f
|
||||
done
|
||||
|
||||
vdoc README
|
||||
vdoc VERSION
|
||||
vdoc RELEASE_NOTES
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
site="https://dl.google.com/dl/cloudsdk/release/sha256.txt"
|
Loading…
Add table
Add a link
Reference in a new issue