1 # Maintainer: Shu <shu@shuu.ru>
5 pkgdesc="Very light and minimalist editor inspired by Scribes, indented mostly for python developers, but other users may find it useful too."
7 url="http://github.com/baverman/snaked"
9 depends=('python2' 'pygtk>=2.10' 'pygtksourceview2>=2.10' 'python2-chardet' 'python2-rope' 'pyflakes' 'python2-distribute')
10 makedepends=('python2')
12 _gitroot="git://github.com/baverman/snaked.git"
18 msg "Connecting to GIT server..."
19 if [[ -d ${_gitname} ]]; then
20 (cd ${_gitname} && git pull origin)
22 git clone --depth=1 ${_gitroot} ${_gitname}
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf ${_gitname}-build
29 cp -r ${_gitname} ${_gitname}-build
31 cd ${srcdir}/${_gitname}-build
33 python2 setup.py build
37 cd ${srcdir}/${_gitname}-build
38 python2 setup.py install --root=$startdir/pkg
40 install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42 rm -rf ${_gitname}-build
45 # vim:set ts=2 sw=2 et: