1 # $Id: PKGBUILD,v 1.12 2003/11/06 08:26:13 dorphell Exp $
2 # Maintainer: Marty_Stoopid <>
3 # Contributor: Marty_Stoopid <>
7 pkgdesc="GUI for sshfs"
9 url="https://github.com/dprevite/pysshfs"
13 depends=('python-pexpect' 'pygtk' 'gtk2' 'sshfs')
17 install=pysshfs.install
25 md5sums=('d6bda8b31a228aabe0e7c4acdc8d6a03'
26 'b5e55be3fa8545bca41ff905869a9d38'
27 '1cc158daa8ad7e94b911d677604eeb30'
28 '2b39020dedd666e555b97c015d2d765b'
29 'ec7026425e4686756d039883da71209f'
30 '65237c06c7ce8892824b67b914f4df35'
31 '7f4ab614190f7faaa5dce7e0f8f6f851')
34 ENV_LANG=`env | grep LANG= | cut -d = -f 2`
35 if [[ $ENV_LANG == 'fr_FR.UTF-8' ]]
36 then patch < ../pysshfs.patch
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"
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}/*