1 # Author: mosra <mosra@centrum.cz>
2 pkgname=map2x-plugins-git
5 pkgdesc="Plugins for Map2X navigation system (Git version)"
7 url="http://mosra.cz/blog/map2x.php"
9 makedepends=('cmake' 'git')
10 depends=('map2x-core-git')
11 provides=('map2x-plugins')
12 conflicts=('map2x-plugins')
14 _gitroot="git://github.com/mosra/map2x-plugins.git"
15 _gitname="map2x-plugins"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 mkdir -p "$srcdir/build"
35 -DCMAKE_INSTALL_PREFIX=/usr
41 make DESTDIR="$pkgdir/" install