6 url='https://github.com/arenevier/vteplugin'
11 _gitroot="http://github.com/arenevier/vteplugin.git"
16 msg "Connecting to GIT server...."
18 if [ -d $_gitname ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_gitname-build"
29 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
35 sed -i 's/python/python2/' waf
38 ./waf install --destdir="$pkgdir"
39 mkdir -p $pkgdir/usr/vteplugin
40 sed -i 1i"<title>Terminal</title>" vteplugin.html
41 cp vteplugin.html $pkgdir/usr/vteplugin/vteplugin.html