fuzzy-pokedex/PKGBUILD

31 lines
849 B
Bash
Raw Normal View History

2023-04-18 00:15:37 -05:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
pkgname=fuzzy-pokedex-dev
pkgver=r49.aeb1671
2023-04-18 00:15:37 -05:00
pkgrel=1
pkgdesc="A Pokedex for your terminal -DEV VERSION"
2023-04-18 00:15:37 -05:00
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=('fzf'
2023-04-18 00:15:37 -05:00
'parallel'
'jq'
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')
source=("git+https://github.com/ericlay/fuzzy-pokedex.git#branch=dev")
2023-04-18 00:15:37 -05:00
md5sums=('SKIP')
pkgver(){
cd "${pkgname:0:-4}"
2023-04-18 00:15:37 -05:00
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname:0:-4}"
2023-04-20 10:38:20 -05:00
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"
install -Dm755 pokedex-dev -t "$pkgdir/usr/bin"
2023-04-18 00:15:37 -05:00
}