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>
2023-04-22 14:00:34 -05:00
pkgname=fuzzy-pokedex-dev
2023-04-22 14:29:41 -05:00
pkgver=r49.aeb1671
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-22 14:25:34 -05:00
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() {
2023-04-22 14:25:34 -05:00
cd "$srcdir/${pkgname:0:-4}"
2023-04-20 10:38:20 -05:00
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
2023-04-22 14:29:41 -05:00
install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname"
2023-04-23 19:54:32 -05:00
install -Dm755 pokeParse -t "$pkgdir/usr/bin"
2023-04-22 14:29:41 -05:00
install -Dm755 pokedex-dev -t "$pkgdir/usr/bin"
2023-04-18 00:15:37 -05:00
}