summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5051fbe7091ae9559dde31d3e731b9b7d3c47249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# PKGBUILD generated by pipman
# Python package author: Greg Hilmes <99hilmes.g@gmail.com>
# Maintainer: Christoph Korn <christoph.korn@posteo.de>
pkgname=python-pokebase
pkgver=1.4.1
pkgrel=1
pkgdesc="A Python wrapper for the friendly PokeAPI database"
arch=(any)
url="https://github.com/PokeAPI/pokebase"
license=("BSD-3-Clause")
depends=("python" "python-requests")
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="pokebase" pokebase==1.4.1
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/pokebase/* $pkgdir/"$sitepackages"
}