1 #Contributor: Mineo <the_mineo at web dot de>
3 pkgname=gedit-classbrowser-git
4 provides=gedit-classbrowser
5 conflicts=('gedit-classbrowser')
8 pkgdesc="development version of gedit-classbrowser"
9 url="http://github.com/FooBarWidget/gedit-class-browser-plugin"
11 arch=('i686' 'x86_64')
15 _gedit_dir="${pkgdir}/usr/lib/gedit-2/"
16 _gedit_plugins_dir="${_gedit_dir}/plugins/"
18 _gitroot="git://github.com/FooBarWidget/gedit-class-browser-plugin.git"
19 _gitname="gedit-class-browser-plugin"
23 msg "Connecting to $_gitroot server..."
25 if [ -d $startdir/src/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "Git checkout done or server timeout"
33 msg "Copying files..."
35 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
36 cd $startdir/src/$_gitname-build
38 mkdir -p $_gedit_plugins_dir
39 cp -r classbrowser classbrowser.gedit-plugin $_gedit_plugins_dir || return 1