Files
chromebrew/packages/bash_completion.rb
chromebrew-actions[bot] ba458d635c Add unbuilt bash_completion to updater-bash_completion-2.16.0 — bash_completion → 2.16.0 (#12804)
* Add unbuilt bash_completion to updater-bash_completion-2.16.0

* Account for conflicts.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* updater-bash_completion-2.16.0: Build Run on linux/arm/v7.

* updater-bash_completion-2.16.0: Build Run on linux/amd64.

* updater-bash_completion-2.16.0: Package File Update Run on linux/386 container.

* Rebuild

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-09-17 00:39:58 +00:00

52 lines
1.3 KiB
Ruby

require 'buildsystems/autotools'
class Bash_completion < Autotools
description 'Programmable completion functions for bash'
homepage 'https://github.com/scop/bash-completion'
version '2.16.0'
license 'GPL-2+'
compatibility 'all'
source_url 'https://github.com/scop/bash-completion.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b144439590fdc6dea667c35d40e816eb872dda828dc4d5129fd4244e7a2fd4bb',
armv7l: 'b144439590fdc6dea667c35d40e816eb872dda828dc4d5129fd4244e7a2fd4bb',
i686: 'cb0932c71faa7e6c5c4a7771fc61a72ce1b79990219be04db4d8a742c36f38bd',
x86_64: 'ff10f76bdc6d113c4bb26458d01e79270965402b3fdfe1d9f39f6d49589ac7c2'
})
depends_on 'bash' # L
# Handle conflicts with uutils_coreutils.
autotools_install_extras do
%w[
arch
b2sum
chgrp
chmod
chown
dd
env
hostname
id
kill
md5sum
mktemp
nproc
printenv
pwd
sha1sum
sha224sum
sha256sum
sha384sum
sha512sum
timeout
truncate
].each do |completion|
FileUtils.mv "#{CREW_DEST_PREFIX}/share/bash-completion/completions/#{completion}", "#{CREW_DEST_PREFIX}/share/bash-completion/completions/#{completion}_bash"
end
end
end