# Maintainer: Grey Christoforo pkgname=pokemon-go-map pkgver=2.2.0 pkgrel=2 pkgdesc='Live visualization of all the pokemon in your area... and more! (stable releases)' arch=('any') url='https://pokemongomap.github.io/PoGoMapWebsite/' license=('GNU GPLv3+') depends=( 'nodejs-grunt-cli' 'python2' 'npm' 'python2-configargparse' 'python2-flask-compress' 'python2-protobuf-to-dict' 'python2-peewee' 'python2-s2sphere' 'python2-flask-cors' 'python2-flask' 'python2-geopy' 'python2-protobuf' 'python2-requests' 'python2-gpsoauth' 'python2-werkzeug') source=("https://github.com/PokemonGoMap/PokemonGo-Map/archive/V${pkgver}.tar.gz") md5sums=('3f45144ec3bc7b2245f0923387759d4d') build() { cd "${srcdir}/PokemonGo-Map-${pkgver}" npm install npm run-script build } package() { cd "${srcdir}/PokemonGo-Map-${pkgver}" mkdir -p "${pkgdir}/opt/" cp -a "${srcdir}/PokemonGo-Map-${pkgver}" "${pkgdir}/opt/${pkgname}" rm -rf "${pkgdir}/opt/${pkgname}/node_modules" }