1 # $Id: PKGBUILD,v 1.0 2009/08/10 01:45:02 BaSh Exp $
2 # Maintainer: Kirurgs <kirurgs@one.lv>
3 # Contributor: Kirurgs <kirurgs@one.lv>
5 pkgname=networkmanager-pptp-git
8 pkgdesc='Developement pptp plugin for networkmanager'
10 url="http://www.gnome.org/projects/NetworkManager/"
12 depends=('pptpclient' 'network-manager-applet-git')
13 makedepends=('pkgconfig' 'gnome-common' 'intltool')
14 conflicts=('networkmanager-pptp')
17 _gitroot="git://git.gnome.org/network-manager-pptp"
18 _gitname="network-manager-pptp"
21 msg "Connecting to git.freedesktop.org GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
34 cd ${srcdir}/$_gitname-build
36 ./autogen.sh --prefix=/usr --sysconfdir=/etc || return 1
39 make -j3 DESTDIR=$pkgdir install || return 1
41 rm -rf ${srcdir}/$_gitname-build