From 6536e7f381db2fc02e41645e72655c0781e2f78f Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Tue, 5 Sep 2023 01:47:54 +0300 Subject: [PATCH] new file: projects/debian.org/bash-completion/README.md (#3220) new file: projects/debian.org/bash-completion/package.yml --- projects/debian.org/bash-completion/README.md | 2 ++ .../debian.org/bash-completion/package.yml | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 projects/debian.org/bash-completion/README.md create mode 100644 projects/debian.org/bash-completion/package.yml 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"