Skip to content

Commit

Permalink
Add full bash-completion package (#29155)
Browse files Browse the repository at this point in the history
Signed-off-by: Jamon <[email protected]>
  • Loading branch information
jamonation authored Sep 23, 2024
1 parent acf93c1 commit b150c15
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions bash-completion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
package:
name: bash-completion
version: 2.14.0
epoch: 0
description: "Programmable completion functions for bash"
copyright:
- license: GPL-2.0
dependencies:
runtime:
- bash

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle

pipeline:
- uses: git-checkout
with:
repository: https://github.com/scop/bash-completion
expected-commit: 0543d1a28ce3d36741675c7ef6da7c2286288f3e
tag: ${{package.version}}

- runs: autoreconf -fiv

- uses: autoconf/configure
with:
opts: |
--host=${{host.triplet.gnu}} \
--target=${{host.triplet.gnu}} \
--prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
--without-libidn \
--with-ssl=openssl \
--disable-nls \
--enable-readline \
--without-bash-malloc \
--with-curses
- uses: autoconf/make

- uses: autoconf/make-install

- uses: strip

update:
enabled: true
github:
identifier: scop/bash-completion
use-tag: true
tag-filter: 2.

# this is hard to test since it expects an interactive shell and dynamic input
test:
pipeline:
- runs: |
#!/bin/bash
. /etc/profile.d/bash_completion.sh

0 comments on commit b150c15

Please sign in to comment.