1 # Contributor: Andreas Boehler <andy dot boehler at gmx dot at>
3 pkgname=mbm-gps-control-git
6 pkgdesc="Graphical interface to mbm-gpsd"
8 url="http://mbm.sourceforge.net/"
11 depends=('networkmanager' 'network-manager-applet' 'intltool')
14 provides=('mbm-gps-control')
23 _gitname=mbm-gps-control
24 _gitroot=git://mbm.git.sourceforge.net/gitroot/mbm/${_gitname}/
28 msg "Connecting to sourceforge.net git server...."
29 rm -rf $startdir/src/$_gitname-build
30 if [[ -d $_gitname ]]; then
31 cd $_gitname || return 1
32 git pull origin || return 1
34 git clone $_gitroot $_gitname || return 1
37 cd $srcdir || return 1
38 cp -r $_gitname $_gitname-build
39 cd $_gitname-build || return 1
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
44 make DESTDIR=$pkgdir install || return 1
45 rm -rf $srcdir/$_gitname-build