1 # Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com>
7 pkgdesc="Application that handles sshfs/sftp file systems mounting."
9 url="https://github.com/spantaleev/sftpman"
11 depends=('python' 'sshfs' 'python-distribute')
13 optdepends=('sftpman-gtk: GTK frontend')
14 install=$pkgname.install
16 git_location="git://github.com/spantaleev/sftpman.git"
21 msg "Connecting to GIT server...."
23 if [ -d $pkgname ] ; then
25 # Switch back to master as we're now on a tagged branch
28 msg "The local files are updated."
29 git checkout $git_branch
31 git clone $git_location $pkgname
33 git checkout $git_branch
36 msg "GIT checkout done"
41 python setup.py install --root=$pkgdir/ --optimize=1
43 install -Dm 644 $srcdir/$pkgname/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
44 install -Dm 755 $srcdir/$pkgname/sleep.d/49-$pkgname $pkgdir/etc/pm/sleep.d/49-$pkgname
45 install -Dm 644 $srcdir/$pkgname/bash_completion.d/$pkgname $pkgdir/etc/bash_completion.d/$pkgname