wok diff tazpkg/receipt @ rev 4695
Up: pygobject* (2.20.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 02 10:00:28 2010 +0100 (2010-01-02) |
parents | f363091678b1 |
children | 9849eb128cfc |
line diff
1.1 --- a/tazpkg/receipt Wed Aug 05 23:26:27 2009 +0200 1.2 +++ b/tazpkg/receipt Sat Jan 02 10:00:28 2010 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazpkg" 1.7 -VERSION="3.0" 1.8 +VERSION="3.1" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="SliTaz packages manager." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -23,7 +23,21 @@ 1.13 cp -a $src/lib/* $fs/usr/lib/slitaz 1.14 cp -a $src/applications $fs/usr/share 1.15 cp -a $src/pixmaps $fs/usr/share 1.16 + cp -a $src/mime $fs/usr/share 1.17 cp -a $src/doc/$PACKAGE.html $fs/usr/share/doc/$PACKAGE 1.18 chmod 755 $fs/usr/bin/$PACKAGE 1.19 chown -R root.root $fs 1.20 + # Default icon for mimetype (freedesktop standard compliant file 1.21 + # manager will diplay a tazpkg icon for SliTaz packages). 1.22 + mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes 1.23 + cd $fs/usr/share/icons/hicolor/32x32/mimetypes 1.24 + ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png 1.25 + ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png 1.26 } 1.27 + 1.28 +post_install() 1.29 +{ 1.30 + # update mime-cache 1.31 + echo "Updating mime-types database..." 1.32 + update-mime-database $1/usr/share/mime 1.33 +}