wok diff gnumeric/receipt @ rev 18666

Up tazpkg (883)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 04 13:21:56 2015 +0100 (2015-12-04)
parents 7896f0694ef6
children 8dfa5f2c7d46
line diff
     1.1 --- a/gnumeric/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/gnumeric/receipt	Fri Dec 04 13:21:56 2015 +0100
     1.3 @@ -27,19 +27,27 @@
     1.4  		--without-gnome \
     1.5  		$CONFIGURE_ARGS &&
     1.6  	make && make install
     1.7 +
     1.8 +	sed -i 's|zz-application/zz-winassoc-xls;||' \
     1.9 +		$install/usr/share/applications/gnumeric.desktop
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib $fs/usr/share
    1.16 -	cp -a $install/usr/bin $fs/usr
    1.17 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.18 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    1.19 -	rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
    1.20 -	rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
    1.21  
    1.22 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.23 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.24 +	cp -a $install/usr/bin          $fs/usr
    1.25 +
    1.26 +	cp -a $install/usr/lib/*.so*    $fs/usr/lib
    1.27 +	cp -a $install/usr/lib/gnumeric $fs/usr/lib
    1.28 +	find $fs/usr/lib -name '*.la' -delete
    1.29 +
    1.30 +	cp -a $install/usr/share/applications $fs/usr/share
    1.31 +	cp -a $install/usr/share/glib-2.0     $fs/usr/share
    1.32 +	cp -a $install/usr/share/gnumeric     $fs/usr/share
    1.33 +	cp -a $install/usr/share/icons        $fs/usr/share
    1.34 +	rm -r $fs/usr/share/icons/hicolor/scalable
    1.35 +	cp -a $install/usr/share/pixmaps      $fs/usr/share
    1.36 +	find $fs/usr/share/pixmaps -name '*.ico' -delete
    1.37  }
    1.38 -