wok diff zim/receipt @ rev 17543

Up busybox (1.23.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 16:55:03 2015 +0100 (2015-01-27)
parents 78cb1e930abd
children 7390f8de9846
line diff
     1.1 --- a/zim/receipt	Sat Sep 07 15:59:12 2013 +0000
     1.2 +++ b/zim/receipt	Tue Jan 27 16:55:03 2015 +0100
     1.3 @@ -17,24 +17,14 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	./setup.py install --root=$DESTDIR install
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 -	mkdir -p $fs/usr
    1.15 -	cp -a $install/usr $fs
    1.16 +	mkdir -p $fs/usr/share
    1.17 +	cp -a $install/usr/bin $fs/usr
    1.18 +	cp -a $install/usr/lib $fs/usr
    1.19 +	cp -a $install/usr/share/zim $fs/usr/share
    1.20  }
    1.21 -
    1.22 -post_install()
    1.23 -{
    1.24 -	echo -n "Processing post-install commands..." 
    1.25 -	# Create mimeinfo.cache in /usr/share/applications
    1.26 -	chroot "$1/" update-desktop-database
    1.27 -	chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
    1.28 -	chroot "$1/" xdg-icon-resource install --context mimetypes \
    1.29 ---size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
    1.30 -	status
    1.31 -}