fuzzy-pokedex/PKGBUILD

30 lines
794 B
Bash
Raw Normal View History

2023-04-18 00:15:37 -05:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
2023-04-22 14:00:34 -05:00
pkgname=fuzzy-pokedex-dev
2023-04-21 10:33:56 -05:00
pkgver=r38.ba9e1a3
2023-04-18 00:15:37 -05:00
pkgrel=1
2023-04-22 14:00:34 -05:00
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')
2023-04-22 14:00:34 -05:00
depends=('fzf'
2023-04-18 00:15:37 -05:00
'parallel'
2023-04-22 13:43:40 -05:00
'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')
2023-04-22 14:00:34 -05:00
source=("git+https://github.com/ericlay/fuzzy-pokedex.git#branch=dev")
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-22 14:00:34 -05:00
install -Dm755 pokedex -t "$pkgdir/usr/bin/pokedex-dev"
2023-04-18 00:15:37 -05:00
}