wok diff xsshfs/receipt @ rev 21052

updated intel-microcode (20180312 -> 20180807a)
author Hans-G?nter Theisgen
date Wed Mar 13 14:10:27 2019 +0100 (2019-03-13)
parents b206aa4371e3
children 4953c6775507
line diff
     1.1 --- a/xsshfs/receipt	Thu Dec 13 13:51:58 2018 +0100
     1.2 +++ b/xsshfs/receipt	Wed Mar 13 14:10:27 2019 +0100
     1.3 @@ -17,8 +17,31 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	cp -a $src/usr $fs/
     1.8 -	sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/xsshfs
     1.9 +	mkdir -p $fs/usr/share/icons/hicolor/scalable/apps $fs/usr/share/xsshfs
    1.10 +	mkdir -p $fs/usr/share/applications $fs/usr/bin $fs/usr/share/pixmaps
    1.11 +	cat > $fs/usr/bin/xsshfs <<EOT
    1.12 +#!/bin/sh
    1.13 +
    1.14 +cd /usr/share/xsshfs
    1.15 +exec ./xsshfs.pl $@
    1.16 +EOT
    1.17 +	cat > $fs/usr/share/applications/xsshfs.desktop <<EOT
    1.18 +[Desktop Entry]
    1.19 +Type=Application
    1.20 +Encoding=UTF-8
    1.21 +Name=Xsshfs
    1.22 +GenericName=xsshfs
    1.23 +Icon=/usr/share/pixmaps/xsshfs.svg
    1.24 +Exec=xsshfs
    1.25 +Terminal=false
    1.26 +StartupNotify=false
    1.27 +Categories=Network;
    1.28 +EOT
    1.29 +	chmod +x $fs/usr/bin/xsshfs
    1.30 +	cp $src/xsshfs* $fs/usr/share/xsshfs
    1.31 +	cp -a $src/locale $fs/usr/share
    1.32 +	ln -s ../xsshfs/xsshfs.svg $fs/usr/share/pixmaps
    1.33 +	ln -s ../../../../xsshfs/xsshfs.svg $fs/usr/share/icons/hicolor/scalable/apps
    1.34  	sed -i 's|"/bin/fusermount|"/usr/bin/fusermount|' $fs/usr/share/xsshfs/xsshfs.pm
    1.35  	sed -i 's|xdg-open|pcmanfm|' $fs/usr/share/xsshfs/xsshfs.pm
    1.36  }