wok-6.x rev 551
Use the new tarnsmission name in desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 21:14:02 2008 +0200 (2008-04-12) |
parents | 22299bc02e11 |
children | 7cdc313c2d61 |
files | transmission/receipt transmission/stuff/transmission.desktop |
line diff
1.1 --- a/transmission/receipt Sat Apr 12 20:17:59 2008 +0200 1.2 +++ b/transmission/receipt Sat Apr 12 21:14:02 2008 +0200 1.3 @@ -21,21 +21,26 @@ 1.4 #bzip2 -d -c "$SOURCES_REPOSITORY/$TARBALL" | tar -xf - 1.5 1.6 cd $src 1.7 - ./configure --prefix=/usr --disable-openssl \ 1.8 - $CONFIGURE_ARGS 1.9 + ./configure \ 1.10 + --prefix=/usr \ 1.11 + $CONFIGURE_ARGS 1.12 make 1.13 } 1.14 1.15 # Rules to gen a SliTaz package suitable for Tazpkg. 1.16 genpkg_rules() 1.17 { 1.18 - mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ 1.19 - $fs/usr/share/pixmaps $fs/usr/share/applications 1.20 + mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES 1.21 cp -a $src/gtk/transmission $fs/usr/bin 1.22 - # Resized pixmap , French locale and desktop file. 1.23 - cp -a $src/gtk/transmission.png $fs/usr/share/pixmaps 1.24 - cp -a $src/gtk/transmission.desktop $fs/usr/share/applications 1.25 - cp -a $src/po/fr.gmo $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo 1.26 + # French locale. 1.27 + cp -a $src/po/fr.gmo \ 1.28 + $fs/usr/share/locale/fr/LC_MESSAGES/transmission.mo 1.29 +} 1.30 + 1.31 +# Remove old packages name 1.32 +post_install() 1.33 +{ 1.34 + rm -f /usr/bin/transmission-gtk 1.35 } 1.36 1.37 # Fancy tarball...
2.1 --- a/transmission/stuff/transmission.desktop Sat Apr 12 20:17:59 2008 +0200 2.2 +++ b/transmission/stuff/transmission.desktop Sat Apr 12 21:14:02 2008 +0200 2.3 @@ -3,7 +3,7 @@ 2.4 Name=Transmission BitTorrent 2.5 Comment[fr]=Un client BitTorrent léger, libre, avec une interface simple et intuitive 2.6 Exec=transmission-gtk %F 2.7 -TryExec=transmission-gtk 2.8 +TryExec=transmission 2.9 Icon=transmission.png 2.10 Type=Application 2.11 MimeType=application/x-bittorrent;