summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 073173fbc8eb3e6b51e90b43dccc24217307209f (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
25
# Maintainer: Slavi Pantaleev <slavi at devture.com>

pkgname=sftpman-gtk
pkgver=1.3.1
pkgrel=0
pkgdesc="GTK frontend for sftpman (an application for managing and mounting sshfs (SFTP) filesystems)."
arch=('any')
url="https://github.com/spantaleev/sftpman-gtk"
license=('GPL3')
depends=('gtk3' 'python-gobject' 'sftpman-python>=0.5.0' 'python-setuptools')
makedepends=('git')
optdepends=(
	'sftpman-iced: GUI frontend for sftpman v2 (rewritten in Rust)'
)
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
}