TTS testing
This commit is contained in:
parent
3da2c32098
commit
815fd0118e
15
PKGBUILD
15
PKGBUILD
|
@ -1,30 +1,29 @@
|
||||||
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
||||||
pkgname=fuzzy-pokedex-git
|
pkgname=fuzzy-pokedex
|
||||||
_pkgname=fuzzy-pokedex
|
|
||||||
pkgver=r16.0c9b118
|
pkgver=r16.0c9b118
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A Pokedex for your terminal"
|
pkgdesc="A Pokedex for your terminal"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/ericlay/$_pkgname"
|
url="https://github.com/ericlay/fuzzy-pokedex"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('python-beautifulsoup4'
|
depends=('python-beautifulsoup4'
|
||||||
'fzf'
|
'fzf'
|
||||||
'parallel'
|
'parallel'
|
||||||
|
'espeak-ng'
|
||||||
'pokemon-colorscripts-git'
|
'pokemon-colorscripts-git'
|
||||||
'ttf-font-nerd')
|
'ttf-font-nerd')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
source=("git+$url.git")
|
source=("git+https://github.com/ericlay/fuzzy-pokedex.git")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver(){
|
pkgver(){
|
||||||
cd "$_pkgname"
|
cd "$pkgname"
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
mkdir -p "$pkgdir/usr/share/$_pkgname/pokeData"
|
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
|
||||||
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$_pkgname/pokeData"
|
|
||||||
install -Dm755 pokedex -t "$pkgdir/usr/bin"
|
install -Dm755 pokedex -t "$pkgdir/usr/bin"
|
||||||
install -Dm755 pokeInfo -t "$pkgdir/usr/bin"
|
install -Dm755 pokeInfo -t "$pkgdir/usr/bin"
|
||||||
}
|
}
|
||||||
|
|
2
pokedex
2
pokedex
|
@ -30,7 +30,7 @@ pokedex() {
|
||||||
--info=inline:' ' \
|
--info=inline:' ' \
|
||||||
--color='fg+:15,fg:42,preview-fg:15,label:9,preview-label:15,hl+:134,hl:123,query:134,gutter:0,border:9,prompt:15,pointer:15,marker:15' \
|
--color='fg+:15,fg:42,preview-fg:15,label:9,preview-label:15,hl+:134,hl:123,query:134,gutter:0,border:9,prompt:15,pointer:15,marker:15' \
|
||||||
--tiebreak=begin,chunk,length \
|
--tiebreak=begin,chunk,length \
|
||||||
--preview="echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1}" \
|
--preview="echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1}; espeak-ng -f ./pokeData/{1} -g 2 -p 45 -s 160 -l 150 -ven+m3" \
|
||||||
--preview-window=68%:wrap:border-rounded \
|
--preview-window=68%:wrap:border-rounded \
|
||||||
--bind=focus:transform-preview-label:'echo [ {1} ] ' \
|
--bind=focus:transform-preview-label:'echo [ {1} ] ' \
|
||||||
--bind=ctrl-h:preview:"echo; pokedex -h;" \
|
--bind=ctrl-h:preview:"echo; pokedex -h;" \
|
||||||
|
|
Loading…
Reference in New Issue