fuzzy-pokedex/PKGBUILD

31 lines
819 B
Bash
Raw Normal View History

2023-04-18 00:15:37 -05:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
2023-04-20 10:38:20 -05:00
pkgname=fuzzy-pokedex
2023-04-21 10:33:56 -05:00
pkgver=r38.ba9e1a3
2023-04-18 00:15:37 -05:00
pkgrel=1
pkgdesc="A Pokedex for your terminal"
arch=('any')
2023-04-20 10:38:20 -05:00
url="https://github.com/ericlay/fuzzy-pokedex"
2023-04-18 00:15:37 -05:00
license=('GPL3')
depends=('python-beautifulsoup4'
'fzf'
'parallel'
2023-04-20 10:38:20 -05:00
'espeak-ng'
2023-04-18 00:15:37 -05:00
'pokemon-colorscripts-git'
'ttf-font-nerd')
makedepends=('git')
2023-04-20 10:38:20 -05:00
source=("git+https://github.com/ericlay/fuzzy-pokedex.git")
2023-04-18 00:15:37 -05:00
md5sums=('SKIP')
pkgver(){
2023-04-20 10:38:20 -05:00
cd "$pkgname"
2023-04-18 00:15:37 -05:00
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
2023-04-20 10:38:20 -05:00
cd "$srcdir/$pkgname"
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
2023-04-21 09:32:10 -05:00
install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname/"
2023-04-18 00:41:04 -05:00
install -Dm755 pokedex -t "$pkgdir/usr/bin"
install -Dm755 pokeInfo -t "$pkgdir/usr/bin"
2023-04-18 00:15:37 -05:00
}