diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 15 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Aug 9 08:29:58 UTC 2016 +# Tue Aug 9 08:34:45 UTC 2016 pkgbase = pokemon-go-map pkgdesc = Live visualization of all the pokemon in your area... and more! (stable releases) pkgver = 2.2.0 @@ -7,7 +7,11 @@ pkgbase = pokemon-go-map url = https://pokemongomap.github.io/PoGoMapWebsite/ arch = any license = GNU GPLv3+ + depends = nodejs-grunt-cli depends = python2 + depends = npm + depends = python2-configargparse + depends = python2-flask-compress depends = python2-protobuf-to-dict depends = python2-peewee depends = python2-s2sphere @@ -7,11 +7,20 @@ pkgdesc='Live visualization of all the pokemon in your area... and more! (stable arch=('any') url='https://pokemongomap.github.io/PoGoMapWebsite/' license=('GNU GPLv3+') -depends=( 'python2' 'python2-protobuf-to-dict' 'python2-peewee' 'python2-s2sphere' 'python2-flask-cors' 'python2-flask' 'python2-geopy' 'python2-protobuf' 'python2-requests' 'python2-gpsoauth' 'python2-werkzeug') +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 + grunt build + 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" } |