fuzzy-pokedex/PKGBUILD

31 lines
773 B
Bash
Raw Normal View History

2023-04-18 00:15:37 -05:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
pkgname=fuzzy-pokedex-git
_pkgname=fuzzy-pokedex
pkgver=r16.0c9b118
pkgrel=1
pkgdesc="A Pokedex for your terminal"
arch=('any')
url="https://github.com/ericlay/$_pkgname"
license=('GPL3')
depends=('python-beautifulsoup4'
'fzf'
'parallel'
'pokemon-colorscripts-git'
'ttf-font-nerd')
makedepends=('git')
source=("git+$url.git")
md5sums=('SKIP')
pkgver(){
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
mkdir -p "$pkgdir/usr/share/$_pkgname/pokeData"
2023-04-18 01:15:53 -05:00
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$_pkgname/pokeData"
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
}