Compare commits

..

2 commits

Author SHA1 Message Date
55aa6c6226
fix: fzf changed naming format 2024-07-10 17:53:36 -05:00
4816b768de
fix: fzf script 2024-07-10 17:51:04 -05:00

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')
@ -20,10 +20,10 @@ version() {
package() { 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:1}-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"