1 # Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com>
6 pkgdesc="GTK frontend for SftpMan (application that handles sshfs/sftp file systems mounting)."
8 url="https://github.com/spantaleev/sftpman-gtk"
10 depends=('gtk3' 'python-gobject' 'sftpman>=0.5.0' 'python-distribute')
12 optdepends=("openssh-askpass: allows you to enter passwords during mounting [install requires session restart]")
13 install=$pkgname.install
15 git_location="git://github.com/spantaleev/sftpman-gtk.git"
20 msg "Connecting to GIT server...."
22 if [ -d $pkgname ] ; then
24 # Switch back to master as we're now on a tagged branch
27 msg "The local files are updated."
28 git checkout $git_branch
30 git clone $git_location $pkgname
32 git checkout $git_branch
35 msg "GIT checkout done"
40 python setup.py install --root=$pkgdir/ --optimize=1
42 install -Dm 644 $srcdir/$pkgname/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
43 install -Dm 644 $srcdir/$pkgname/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
44 install -Dm 644 $srcdir/$pkgname/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE