updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / pysshfs / PKGBUILD
blob3e3c2513b7544f7caf420259506ff7a69992f21e
1 # $Id: PKGBUILD,v 1.12 2003/11/06 08:26:13 dorphell Exp $
2 # Maintainer: Marty_Stoopid <>
3 # Contributor: Marty_Stoopid <>
4 pkgname=pysshfs
5 pkgver=0.2
6 pkgrel=4
7 pkgdesc="GUI for sshfs"
8 arch=(i686 x86_64)
9 url="https://github.com/dprevite/pysshfs"
10 license=('GPL')
11 #groups=
12 #provides=
13 depends=('python-pexpect' 'pygtk' 'gtk2' 'sshfs')
14 makedepends=()
15 #conflicts=()
16 #replaces=()
17 install=pysshfs.install
18 source=(pysshfs
19                   pysshfs.py
20                   pysshfs.patch
21                   pysshfs.desktop
22                   pysshfs.install
23                   pysshfs.png
24                   example.profil)
25 md5sums=('d6bda8b31a228aabe0e7c4acdc8d6a03'
26                         'b5e55be3fa8545bca41ff905869a9d38'
27                         '1cc158daa8ad7e94b911d677604eeb30'
28                         '2b39020dedd666e555b97c015d2d765b'
29                         'ec7026425e4686756d039883da71209f'
30                         '65237c06c7ce8892824b67b914f4df35'
31                         '7f4ab614190f7faaa5dce7e0f8f6f851')
32 package() {
33 # Select language
34 ENV_LANG=`env | grep LANG= | cut -d = -f 2`
35         if [[ $ENV_LANG == 'fr_FR.UTF-8' ]]
36                 then patch < ../pysshfs.patch
37         fi
39 # Install the executables
40   install -Dm644 pysshfs.py "${pkgdir}/usr/bin/pysshfs.py"
41   install -Dm644 pysshfs "${pkgdir}/usr/bin/pysshfs"  
42   chmod +x ${pkgdir}/usr/bin/pysshfs.py
43   chmod +x ${pkgdir}/usr/bin/pysshfs
45 # Install the .desktop file
46   install -Dm644 pysshfs.desktop "${pkgdir}/usr/share/applications/pysshfs.desktop"
48 # Install the icon
49   install -Dm644 pysshfs.png "${pkgdir}/usr/share/pixmaps/pysshfs.png"
51 # Install the example.profil
52   install -Dm644 example.profil "${pkgdir}/usr/share/pysshfs/example.profil"
54 # Change the ownership to root
55   chown -R root:root ${pkgdir}/*