wok-next diff xsshfs/receipt @ rev 21662
updated fop (1.0 -> 2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 27 13:57:04 2020 +0100 (2020-06-27) |
parents | e37473ea7fa3 |
children |
line diff
1.1 --- a/xsshfs/receipt Tue Sep 01 15:09:14 2015 +0200 1.2 +++ b/xsshfs/receipt Sat Jun 27 13:57:04 2020 +0100 1.3 @@ -1,23 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xsshfs" 1.8 VERSION="0.5" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="GUI for sshfs." 1.11 +SHORT_DESC="GUI for sshfs" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="${PACKAGE}_$VERSION-all_src.tar.gz" 1.15 -WEB_SITE="http://forge.zici.fr/p/xsshfs/" 1.16 -WGET_URL="${WEB_SITE}downloads/get/$TARBALL" 1.17 +WEB_SITE="https://framagit.org/kepon/xsshfs" 1.18 1.19 -DEPENDS="sshfs perl-config-tiny perl-locale-gettext glade-perl perl-image-librsvg" 1.20 -SUGGESTED="pcmanfm" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.22 +WGET_URL="https://framagit.org/kepon/xsshfs/-/archive/master/xsshfs-master.tar.bz2" 1.23 1.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 -genpkg_rules() 1.26 -{ 1.27 - cp -a $src/usr $fs/ 1.28 - sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/xsshfs 1.29 - sed -i 's|"/bin/fusermount|"/usr/bin/fusermount|' $fs/usr/share/xsshfs/xsshfs.pm 1.30 - sed -i 's|xdg-open|pcmanfm|' $fs/usr/share/xsshfs/xsshfs.pm 1.31 +compile_rules() { 1.32 + install -Dm755 $stuff/xsshfs $install/usr/bin/xsshfs 1.33 + install -Dm644 $stuff/xsshfs.desktop $install/usr/share/applications/xsshfs.desktop 1.34 + install -Dm644 xsshfs.svg $install/usr/share/icons/hicolor/scalable/apps/xsshfs.svg 1.35 + install -Dm644 locale/es/LC_MESSAGES/xsshfs.mo $install/usr/share/locale/es/LC_MESSAGES/xsshfs.mo 1.36 + install -Dm644 locale/fr/LC_MESSAGES/xsshfs.mo $install/usr/share/locale/fr/LC_MESSAGES/xsshfs.mo 1.37 + install -Dm644 xsshfs.glade $install/usr/share/xsshfs/xsshfs.glade 1.38 + install -Dm644 xsshfs.pl $install/usr/share/xsshfs/xsshfs.pl 1.39 + install -Dm644 xsshfs.pm $install/usr/share/xsshfs/xsshfs.pm 1.40 + 1.41 + sed -i 's|"/bin/fusermount|"/usr/bin/fusermount|; s|xdg-open|pcmanfm|' \ 1.42 + $install/usr/share/xsshfs/xsshfs.pm 1.43 } 1.44 + 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="sshfs fuse2 perl-config-tiny perl-locale-gettext glade-perl \ 1.48 + perl-image-librsvg" 1.49 + SUGGESTED="pcmanfm" 1.50 +}