wok-6.x diff xsshfs/receipt @ rev 20824

updated dfu-util (0.8 -> 0.9)
author Hans-G?nter Theisgen
date Tue Feb 19 15:12:19 2019 +0100 (2019-02-19)
parents b206aa4371e3
children 4953c6775507
line diff
     1.1 --- a/xsshfs/receipt	Thu Dec 13 13:51:58 2018 +0100
     1.2 +++ b/xsshfs/receipt	Tue Feb 19 15:12:19 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  }