1 # Author: mosra <mosra@centrum.cz>
2 pkgname=kompas-core-git
5 pkgdesc="Core library for Kompas navigation software (Git version)"
7 url="http://mosra.cz/blog/kompas.php"
9 makedepends=('cmake' 'git')
10 provides=('kompas-core')
11 conflicts=('kompas-core')
13 _gitroot="git://github.com/mosra/kompas-core.git"
14 _gitname="kompas-core"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 mkdir -p "$srcdir/build"
34 -DCMAKE_INSTALL_PREFIX=/usr
40 make DESTDIR="$pkgdir/" install