-
Notifications
You must be signed in to change notification settings - Fork 418
Expand file tree
/
Copy pathbash_completion.rb
More file actions
52 lines (48 loc) · 1.29 KB
/
bash_completion.rb
File metadata and controls
52 lines (48 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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' => :logical
# 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