mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Add unbuilt bash_completion to updater-bash_completion-2.17.0 * Handle cksum file conflict with uutils_coreutils. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-bash_completion-2.17.0: Package File Update Run on linux/386 container. * updater-bash_completion-2.17.0: Package File Update Run on linux/amd64 container. * updater-bash_completion-2.17.0: Package File Update Run on linux/arm/v7 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
53 lines
1.3 KiB
Ruby
53 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.17.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: '25f779ac3896cd66c34bea1830c5639392c4e33d28e55884698ecf6b79709124',
|
|
armv7l: '25f779ac3896cd66c34bea1830c5639392c4e33d28e55884698ecf6b79709124',
|
|
i686: '7e4d6f38e28400ff3ff17897ca2b83a5fc380e9bbce1cd2c53785ea2234a9c62',
|
|
x86_64: '123dc2a644005e0322c744edaf0330e9b5de1a4f59102105bca8bdd2086835f5'
|
|
})
|
|
|
|
depends_on 'bash' # L
|
|
|
|
# Handle conflicts with uutils_coreutils.
|
|
autotools_install_extras do
|
|
%w[
|
|
arch
|
|
b2sum
|
|
chgrp
|
|
chmod
|
|
chown
|
|
cksum
|
|
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
|