Switch to PokeAPI #1

Merged
ericlay merged 20 commits from dev into main 2023-04-24 19:05:08 -05:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit aeb1671512 - Show all commits

View File

@ -1,6 +1,6 @@
# Maintainer: Eric Lay <ericlaytm@gmail.com> # Maintainer: Eric Lay <ericlaytm@gmail.com>
pkgname=fuzzy-pokedex-dev pkgname=fuzzy-pokedex-dev
pkgver=r38.ba9e1a3 pkgver=r48.8bc82b5
pkgrel=1 pkgrel=1
pkgdesc="A Pokedex for your terminal -DEV VERSION" pkgdesc="A Pokedex for your terminal -DEV VERSION"
arch=('any') arch=('any')
@ -17,13 +17,13 @@ source=("git+https://github.com/ericlay/fuzzy-pokedex.git#branch=dev")
md5sums=('SKIP') md5sums=('SKIP')
pkgver(){ pkgver(){
cd "$pkgname" cd "${pkgname:0:-4}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
package() { package() {
cd "$srcdir/$pkgname" cd "$srcdir/${pkgname:0:-4}"
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData" install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname/" install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname/"
install -Dm755 pokedex -t "$pkgdir/usr/bin/pokedex-dev" install -Dm755 pokedex-dev -t "$pkgdir/usr/bin/$pkgname"
} }