fix: fzf script

This commit is contained in:
Sayantan Santra 2024-07-10 17:51:04 -05:00
parent 91a9fda73f
commit 4816b768de
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -1,6 +1,6 @@
name='fzf' name='fzf'
version=VERSION version=VERSION
release=2 release=3
desc='A command-line fuzzy finder' desc='A command-line fuzzy finder'
homepage='https://github.com/junegunn/fzf' homepage='https://github.com/junegunn/fzf'
architectures=('amd64' 'arm') architectures=('amd64' 'arm')
@ -21,9 +21,9 @@ package() {
# Pull sources # Pull sources
echo "Pulling ${name} ${version}" echo "Pulling ${name} ${version}"
curl -L "https://github.com/${git_repo}/releases/latest/download/fzf-${version}-linux_amd64.tar.gz" -o ${name}.tar.gz curl -L "https://github.com/${git_repo}/releases/latest/download/fzf-${version}-linux_amd64.tar.gz" -o ${name}.tar.gz
curl -L "https://raw.githubusercontent.com/${git_repo}/master/bin/${name}-tmux" -o ${name}-tmux # curl -L "https://raw.githubusercontent.com/${git_repo}/master/bin/${name}-tmux" -o ${name}-tmux
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}.1" -o ${name}.1 curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}.1" -o ${name}.1
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}-tmux.1" -o ${name}-tmux.1 # curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}-tmux.1" -o ${name}-tmux.1
curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/completion.bash" -o ${name}.bash curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/completion.bash" -o ${name}.bash
curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/completion.zsh" -o ${name}.zsh curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/completion.zsh" -o ${name}.zsh
curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/key-bindings.bash" -o key-bindings.zsh curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/key-bindings.bash" -o key-bindings.zsh
@ -34,10 +34,10 @@ package() {
tar -xzf "${name}.tar.gz" -C . tar -xzf "${name}.tar.gz" -C .
# Binaries # Binaries
install-binary "./${name}" install-binary "./${name}"
install-binary "./${name}-tmux" # install-binary "./${name}-tmux"
# Manpages # Manpages
install-manual "./${name}.1" install-manual "./${name}.1"
install-manual "./${name}-tmux.1" # # install-manual "./${name}-tmux.1"
# Autocomplete # Autocomplete
install-completion zsh "${name}" <"./${name}.zsh" install-completion zsh "${name}" <"./${name}.zsh"
install-completion bash "${name}" <"./${name}.bash" install-completion bash "${name}" <"./${name}.bash"