1 # Maintainer: Scott Garrett <wintervenom@gmail.com>
6 pkgdesc="Python 3 bindings for libssh2."
8 url="https://github.com/wallunit/ssh4py"
10 depends=('python' 'libssh2' 'zlib')
12 _gitroot='git://github.com/wallunit/ssh4py.git'
17 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 cd "$srcdir/$_gitname"
27 python3 setup.py build
31 cd "$srcdir/$_gitname"
32 python3 setup.py install --prefix "${pkgdir}/usr" --optimize=1