wok-6.x diff scite/receipt @ rev 9117

scim-tables-additional: remove spurrious part of genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:01:38 2011 +0100 (2011-03-05)
parents 3b6c795f4374
children 2cc520912413
line diff
     1.1 --- a/scite/receipt	Sat Feb 05 21:50:09 2011 +0000
     1.2 +++ b/scite/receipt	Sat Mar 05 13:01:38 2011 +0100
     1.3 @@ -21,7 +21,12 @@
     1.4  	# Build SciTE
     1.5  	cd $src/scite/gtk
     1.6  	make GTK2=1 prefix=/usr &&
     1.7 -	make prefix=/usr DESTDIR=$src/_pkg install
     1.8 +	make prefix=/usr install && {
     1.9 +		# Desktop file and icon
    1.10 +		mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
    1.11 +		cp SciTE.desktop $DESTDIR/usr/share/applications
    1.12 +		cp Sci48M.png $DESTDIR/usr/share/pixmaps
    1.13 +	}
    1.14  }
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 @@ -29,9 +34,6 @@
    1.18  {
    1.19  	mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
    1.20  	cp -a $_pkg/usr $fs
    1.21 -	# Desktop file and icon
    1.22 -	cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications
    1.23 -	cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps
    1.24  	# Save space ~100kb
    1.25  	rm $fs/usr/share/scite/*.html
    1.26  	rm $fs/usr/share/scite/*.png