1 # Author: mosra <mosra@centrum.cz>
2 pkgname=kompas-plugins-git
5 pkgdesc="Plugins for Kompas navigation software (Git version)"
7 url="http://mosra.cz/blog/kompas.php"
9 makedepends=('cmake' 'git')
10 depends=('kompas-core-git')
11 provides=('kompas-plugins')
12 conflicts=('kompas-plugins')
14 _gitroot="git://github.com/mosra/kompas-plugins.git"
15 _gitname="kompas-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