summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f53e71607a11b413523c5a75323b9ad636f8164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>

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"
}