wok-6.x rev 10742

Up: slitaz-doc (4.2) - New style and include all doc (no more in locale pack)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 02:35:50 2011 +0200 (2011-05-30)
parents 4a8d626e353b
children b887013b3746
files slitaz-doc/receipt
line diff
     1.1 --- a/slitaz-doc/receipt	Mon May 30 01:25:26 2011 +0200
     1.2 +++ b/slitaz-doc/receipt	Mon May 30 02:35:50 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-doc"
     1.7 -VERSION="4.1"
     1.8 +VERSION="4.2"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz system documentation."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -12,20 +12,14 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/share/doc/slitaz \
    1.17 +	mkdir -p \
    1.18 +		$fs/usr/share/doc \
    1.19  		$fs/usr/share/applications \
    1.20 -		$fs/usr/share/pixmaps \
    1.21  		$fs/etc/skel/Desktop \
    1.22 -	# Copy default english doc from slitaz/ and set permissions.
    1.23 -	cd $src/slitaz
    1.24 -	for i in index.en.html index.html relnotes.*.html book.css \
    1.25 -		 favicon.ico images ; do
    1.26 -		[ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz
    1.27 -	done 
    1.28 -	# Desktop file and pixmaps
    1.29 +	cp -a $src/slitaz $fs/usr/share/doc
    1.30 +	# Desktop file and pixmaps.
    1.31  	cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
    1.32  	cp $src/applications/system-doc.desktop $fs/usr/share/applications
    1.33  	cp -a $src/pixmaps $fs/usr/share
    1.34  	chown -R root.root $fs/*
    1.35 -	chmod -x $fs/usr/share/doc/slitaz/*.html
    1.36  }