4 pkgdesc="RESTful External Editor client helper application"
7 url="http://git.hforge.org/?p=restedit.git"
8 depends=('python2' 'tk')
10 conflicts=('restedit')
12 _gitroot="git://git.hforge.org/restedit"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
38 destination="$pkgdir/usr/bin/$filename"
39 install -D -m 0755 "$filename" "$destination" || return 1
40 sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/g' "$destination"