wok-6.x rev 3952
Up: tazpkg (3.1) - Convert improved and bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Aug 25 22:12:27 2009 +0200 (2009-08-25) |
parents | ce5a9bc5dc95 |
children | 4b87fa7f8c1c |
files | tazpkg/receipt |
line diff
1.1 --- a/tazpkg/receipt Tue Aug 25 22:01:30 2009 +0200 1.2 +++ b/tazpkg/receipt Tue Aug 25 22:12:27 2009 +0200 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 +}