new file: projects/debian.org/bash-completion/README.md (#3220)

new file:   projects/debian.org/bash-completion/package.yml
This commit is contained in:
Andrew 2023-09-05 01:47:54 +03:00 committed by GitHub
parent 89dfd08079
commit 6536e7f381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Add the following line to your ~/.bash_profile:
`[[ -r "~/.tea/debian.org/bash-completion/v*/etc/profile.d/bash_completion.sh" ]] && . "~/.tea/debian.org/bash-completion/v*/etc/profile.d/bash_completion.sh"``

View file

@ -0,0 +1,24 @@
distributable:
url: http://deb.debian.org/debian/pool/main/b/bash-completion/bash-completion_{{version.raw}}.orig.tar.gz
strip-components: 1
versions:
url: https://packages.debian.org/source/bullseye/bash-completion
match: /bash-completion_\d+\.\d+\.orig\.tar\.gz/
strip:
- /^bash-completion_/
- /\.orig\.tar\.gz/
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
script:
- autoreconf -i
- ./configure --prefix="{{prefix}}"
- make
- make install
test:
script:
- bash -c ". {{prefix}}/etc/profile.d/bash_completion.sh"