diff options
author | Slavi Pantaleev | 2015-07-29 02:40:46 +0300 |
---|---|---|
committer | Slavi Pantaleev | 2015-07-29 02:40:46 +0300 |
commit | e5f9d7f9ac789b3dd2fd2c9dfb960c53a5df6471 (patch) | |
tree | ff2401a1cdcc42b9e6c0d458cbeadd03c95781e8 /PKGBUILD | |
download | aur-e5f9d7f9ac789b3dd2fd2c9dfb960c53a5df6471.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e3ae2d3d52f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com> + +pkgname=sftpman +epoch=1 +pkgver=0.6.1 +pkgrel=1 +pkgdesc="Application that handles sshfs/sftp file systems mounting." +arch=('any') +url="https://github.com/spantaleev/sftpman" +license=('BSD') +depends=('python' 'sshfs' 'python-setuptools') +makedepends=('git') +optdepends=('sftpman-gtk: GTK frontend') +install=$pkgname.install +source=('vcs-repository::git://github.com/spantaleev/sftpman.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/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm 755 $srcdir/vcs-repository/sleep-scripts/sleep.d/49-sftpman-unmount-all $pkgdir/etc/pm/sleep.d/49-sftpman-unmount-all + install -Dm 755 $srcdir/vcs-repository/sleep-scripts/system-sleep/sftpman-unmount-all.sh $pkgdir/usr/lib/systemd/system-sleep/sftpman-unmount-all.sh + install -Dm 644 $srcdir/vcs-repository/bash_completion.d/sftpman $pkgdir/etc/bash_completion.d/sftpman +} |