diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | sftpman-gtk.install | 4 |
4 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a5349652481c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = sftpman-gtk + pkgdesc = GTK frontend for SftpMan (application that handles sshfs/sftp file systems mounting). + pkgver = 0.4.2 + pkgrel = 1 + url = https://github.com/spantaleev/sftpman-gtk + install = sftpman-gtk.install + arch = any + license = BSD + makedepends = git + depends = gtk3 + depends = python-gobject + depends = sftpman>=0.5.0 + depends = python-setuptools + optdepends = openssh-askpass: allows you to enter passwords during mounting [install requires session restart] + source = vcs-repository::git://github.com/spantaleev/sftpman-gtk.git#tag=0.4.2 + md5sums = SKIP + +pkgname = sftpman-gtk + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ce3fa708fb1a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.xz +*.gz +pkg +src +vcs-repository diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..509362cc2b04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com> + +pkgname=sftpman-gtk +pkgver=0.4.2 +pkgrel=1 +pkgdesc="GTK frontend for SftpMan (application that handles sshfs/sftp file systems mounting)." +arch=('any') +url="https://github.com/spantaleev/sftpman-gtk" +license=('BSD') +depends=('gtk3' 'python-gobject' 'sftpman>=0.5.0' 'python-setuptools') +makedepends=('git') +optdepends=("openssh-askpass: allows you to enter passwords during mounting [install requires session restart]") +install=$pkgname.install +source=('vcs-repository::git://github.com/spantaleev/sftpman-gtk.git#tag='$pkgver) +md5sums=('SKIP') + +package() { + cd "$srcdir/vcs-repository" + python setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1 + + install -Dm 644 $srcdir/vcs-repository/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop + install -Dm 644 $srcdir/vcs-repository/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png + install -Dm 644 $srcdir/vcs-repository/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/sftpman-gtk.install b/sftpman-gtk.install new file mode 100644 index 000000000000..8815882c8256 --- /dev/null +++ b/sftpman-gtk.install @@ -0,0 +1,4 @@ +post_install() { + echo "You will most probably need to install openssh-askpass to use password-based authentication or password-protected SSH keys." + echo "Your session needs to be restarted for openssh-askpass to start working." +} |