summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 772fb1f0b71bb107d58c6e2b81ad59b93f425fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Slavi Pantaleev <slavi at devture.com>

pkgname=sftpman-gtk
pkgver=1.0.3
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=('GPL3')
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=('git+https://github.com/spantaleev/sftpman-gtk.git#tag='$pkgver)
md5sums=('SKIP')

package() {
	cd "$srcdir/$pkgname"
	python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1

	install -Dm 644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
	install -Dm 644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
	install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}