summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 945673bf8..a5c1f0fff 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -429,7 +429,22 @@ else
fi
+# build the googlemaps map plugin
+cd $SRC
+if [ ! -d googlemaps ] ; then
+ if [[ $1 = local ]] ; then
+ git clone $SRC/../googlemaps googlemaps
+ else
+ git clone git@github.com:Subsurface-divelog/googlemaps.git
+ fi
+fi
+cd googlemaps
+git checkout master
+git pull --rebase
+qmake
+make -j4
+make install
# finally, build Subsurface