missed one

This commit is contained in:
Eric Lay 2023-04-24 19:34:06 -05:00
parent 4f54138d0e
commit 65131390b0
2 changed files with 6 additions and 6 deletions

View File

@ -17,12 +17,12 @@ source=("git+https://github.com/ericlay/fuzzy-pokedex.git")
md5sums=('SKIP')
pkgver(){
cd "${pkgname}"
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname}"
cd "$srcdir/$pkgname"
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname"
install -Dm755 pokeParse -t "$pkgdir/usr/bin"

View File

@ -2,8 +2,8 @@
### Overhad preparation
shopt -s extglob
KBINDS="/usr/share/fuzzy-pokedex-dev/keybindings-preview"
POKEDATA="/usr/share/fuzzy-pokedex-dev/pokeData"
KBINDS="/usr/share/fuzzy-pokedex/keybindings-preview"
POKEDATA="/usr/share/fuzzy-pokedex/pokeData"
indent="\n\t\t\t\t\t"
### Help
@ -51,7 +51,7 @@ pokedex_View() {
--bind=ctrl-b:preview:"echo; pokemon-colorscripts -b -n {1} --no-title; cat $POKEDATA/{1};" \
--bind=ctrl-s:preview:"echo; pokemon-colorscripts -s -n {1} --no-title; cat $POKEDATA/{1};" \
--bind=ctrl-n:preview:"printf '${indent}%s${indent} %s\n' 'Press space to hear entry' 'ctrl+space to stop'; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1};" |
parallel pokemon-colorscripts --no-title -n {} "&&" cat "$POKEDATA/{}"
parallel pokemon-colorscripts --no-title -n {} "&&" "$POKEDATA/{}"
}
### Quick view returns single Pokemon stat instead of opening pokedex
@ -61,7 +61,7 @@ quick_view() {
### Update Pokemon stats file set
update_pokeData() {
printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take a long time"
printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take some time"
pokemon-colorscripts -l | sort | parallel --bar --retry-failed --color -j "${1:-200%}" pokeParse
}