wok-current rev 9029

scite: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:28:26 2011 +0100 (2011-03-03)
parents bc425cfdaa8a
children a477108d3163
files scite/receipt
line diff
     1.1 --- a/scite/receipt	Thu Mar 03 16:21:55 2011 +0000
     1.2 +++ b/scite/receipt	Thu Mar 03 22:28:26 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