wok-current rev 12062

clean up receipts with unnecessary cp operations
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Mar 08 11:44:26 2012 -0800 (2012-03-08)
parents c852487e5f13
children e63505ffeafa
files celestia/receipt cgoban/receipt chemtool/receipt fpm2/receipt frogatto/receipt htop/receipt nitrogen/receipt
line diff
     1.1 --- a/celestia/receipt	Thu Mar 08 06:50:49 2012 -0800
     1.2 +++ b/celestia/receipt	Thu Mar 08 11:44:26 2012 -0800
     1.3 @@ -30,7 +30,6 @@
     1.4  {
     1.5  	mkdir -p $fs/usr/share/applications
     1.6  	cp -a $_pkg/usr/bin $fs/usr
     1.7 -	cp -a $stuff/celestia.desktop $fs/usr/share/applications
     1.8  	cp -a $_pkg/usr/share/celestia $fs/usr/share
     1.9  	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.10  }
     2.1 --- a/cgoban/receipt	Thu Mar 08 06:50:49 2012 -0800
     2.2 +++ b/cgoban/receipt	Thu Mar 08 11:44:26 2012 -0800
     2.3 @@ -28,6 +28,5 @@
     2.4  {
     2.5  	mkdir -p $fs/usr/bin $fs/usr/share/applications
     2.6  	cp -a $_pkg/usr/bin/cgoban $fs/usr/bin
     2.7 -	cp $stuff/cgoban.desktop $fs/usr/share/applications
     2.8  }
     2.9  
     3.1 --- a/chemtool/receipt	Thu Mar 08 06:50:49 2012 -0800
     3.2 +++ b/chemtool/receipt	Thu Mar 08 11:44:26 2012 -0800
     3.3 @@ -26,7 +26,7 @@
     3.4  {
     3.5  	# Needed directories.
     3.6  	mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
     3.7 -	$fs/usr/share/examples/chemtool $fs/usr/share/applications
     3.8 +	$fs/usr/share/examples/chemtool 
     3.9  	
    3.10  	# Binary file.
    3.11  	cp -a $_pkg/usr/bin $fs/usr
    3.12 @@ -34,7 +34,6 @@
    3.13  	# French locale, pixmap and menu.
    3.14  	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    3.15  	cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
    3.16 -	cp -a $stuff/chemtool.desktop $fs/usr/share/applications
    3.17  	
    3.18  	# Examples.
    3.19  	cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
     4.1 --- a/fpm2/receipt	Thu Mar 08 06:50:49 2012 -0800
     4.2 +++ b/fpm2/receipt	Thu Mar 08 11:44:26 2012 -0800
     4.3 @@ -27,7 +27,5 @@
     4.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.5  genpkg_rules()
     4.6  {
     4.7 -	mkdir -p $fs/usr/share/applications
     4.8 -	cp -a $stuff/fpm2.desktop $fs/usr/share/applications
     4.9  	cp -a $_pkg/usr/bin $fs/usr
    4.10  }
     5.1 --- a/frogatto/receipt	Thu Mar 08 06:50:49 2012 -0800
     5.2 +++ b/frogatto/receipt	Thu Mar 08 11:44:26 2012 -0800
     5.3 @@ -36,9 +36,8 @@
     5.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.5  genpkg_rules()
     5.6  {
     5.7 -	mkdir -p $fs/usr/games/frogatto $fs/usr/share/applications \
     5.8 -		$fs/usr/bin
     5.9 +	mkdir -p $fs/usr/games/frogatto $fs/usr/bin $fs/usr/share/pixmaps
    5.10  	cp -a $src/game $src/server $fs/usr/games/frogatto
    5.11 -	cp -a stuff/frogatto $fs/usr/bin
    5.12 -	cp -a stuff/frogatto.desktop $fs/usr/share/applications
    5.13 +	cp -a $src/images/window-icon.png $fs/usr/share/pixmaps
    5.14 +	cp -a $stuff/frogatto $fs/usr/bin
    5.15  }
     6.1 --- a/htop/receipt	Thu Mar 08 06:50:49 2012 -0800
     6.2 +++ b/htop/receipt	Thu Mar 08 11:44:26 2012 -0800
     6.3 @@ -24,8 +24,7 @@
     6.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.5  genpkg_rules()
     6.6  {
     6.7 -    mkdir -p $fs/usr/bin $fs/usr/share/applications
     6.8 -    cp -a $stuff/htop.desktop $fs/usr/share/applications
     6.9 +    mkdir -p $fs/usr/bin
    6.10      cp -a $_pkg/usr/bin/* $fs/usr/bin
    6.11      cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    6.12  }
     7.1 --- a/nitrogen/receipt	Thu Mar 08 06:50:49 2012 -0800
     7.2 +++ b/nitrogen/receipt	Thu Mar 08 11:44:26 2012 -0800
     7.3 @@ -29,9 +29,9 @@
     7.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.5  genpkg_rules()
     7.6  {
     7.7 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
     7.8 +	mkdir -p $fs/usr/share/pixmaps
     7.9  	cp -a $_pkg/usr/bin $fs/usr
    7.10 -    cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png $fs/usr/share/pixmaps/
    7.11 -    cp -a stuff/nitrogen.desktop $fs/usr/share/applications/
    7.12 +	cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
    7.13 +		$fs/usr/share/pixmaps/
    7.14  }
    7.15