diff --git a/projects/debian.org/bash-completion/README.md b/projects/debian.org/bash-completion/README.md new file mode 100644 index 00000000..ff72c208 --- /dev/null +++ b/projects/debian.org/bash-completion/README.md @@ -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"`` \ No newline at end of file diff --git a/projects/debian.org/bash-completion/package.yml b/projects/debian.org/bash-completion/package.yml new file mode 100644 index 00000000..726482d0 --- /dev/null +++ b/projects/debian.org/bash-completion/package.yml @@ -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"