# HG changeset patch # User Christophe Lincoln # Date 1208027642 -7200 # Node ID c0a368d69d1e3a2cac66b184cb34c8ba6a44c3c4 # Parent 22299bc02e11bfd0c7f1faa3fa9037a717018980 Use the new tarnsmission name in desktop file diff -r 22299bc02e11 -r c0a368d69d1e transmission/receipt --- a/transmission/receipt Sat Apr 12 20:17:59 2008 +0200 +++ b/transmission/receipt Sat Apr 12 21:14:02 2008 +0200 @@ -21,21 +21,26 @@ #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf - cd $src - ./configure --prefix=/usr --disable-openssl \ - $CONFIGURE_ARGS + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ - $fs/usr/share/pixmaps $fs/usr/share/applications + mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES cp -a $src/gtk/transmission $fs/usr/bin - # Resized pixmap , French locale and desktop file. - cp -a $src/gtk/transmission.png $fs/usr/share/pixmaps - cp -a $src/gtk/transmission.desktop $fs/usr/share/applications - cp -a $src/po/fr.gmo $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo + # French locale. + cp -a $src/po/fr.gmo \ + $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo +} + +# Remove old packages name +post_install() +{ + rm -f /usr/bin/transmission-gtk } # Fancy tarball... diff -r 22299bc02e11 -r c0a368d69d1e transmission/stuff/transmission.desktop --- a/transmission/stuff/transmission.desktop Sat Apr 12 20:17:59 2008 +0200 +++ b/transmission/stuff/transmission.desktop Sat Apr 12 21:14:02 2008 +0200 @@ -3,7 +3,7 @@ Name=Transmission BitTorrent Comment[fr]=Un client BitTorrent léger, libre, avec une interface simple et intuitive Exec=transmission-gtk %F -TryExec=transmission-gtk +TryExec=transmission Icon=transmission.png Type=Application MimeType=application/x-bittorrent;