wok rev 14083

Up: emacs-help (24.2)
author Dominique Corbex <domcox@slitaz.org>
date Fri Feb 22 20:43:45 2013 +0100 (2013-02-22)
parents 0eb1f12caf8e
children f505e31f1f77
files emacs-help/receipt
line diff
     1.1 --- a/emacs-help/receipt	Fri Feb 22 20:43:21 2013 +0100
     1.2 +++ b/emacs-help/receipt	Fri Feb 22 20:43:45 2013 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emacs-help"
     1.7 -VERSION="23.4"
     1.8 +VERSION="24.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The GNU Emacs editor - Help files"
    1.11  MAINTAINER="domcox@slitaz.org"
    1.12 @@ -15,22 +15,29 @@
    1.13  	# Help files
    1.14  	echo -n "Copying info files"
    1.15  	mkdir -p $fs/usr/share/info && \
    1.16 -	cp -a $_pkg/usr/share/info/em* $fs/usr/share/info && \
    1.17 -	cp -a $_pkg/usr/share/info/info $fs/usr/share/info
    1.18 +	cp -a $_pkg/usr/share/info/* $fs/usr/share/info && \
    1.19  	status
    1.20  	# Tutorial
    1.21  	echo -n "Copying tutorial files"
    1.22 -	mkdir -p $fs/usr/share/emacs/${VERSION:0:4}/etc && \
    1.23 -	cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/tutorials $fs/usr/share/emacs/${VERSION:0:4}/etc
    1.24 +	mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
    1.25 +	cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials \
    1.26 +		$fs/usr/share/emacs/$VERSION/etc
    1.27 +	status
    1.28 +	# refcards
    1.29 +	echo -n "Copying refcards"
    1.30 +	mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards && \
    1.31 +	cp -a  $_pkg/usr/share/emacs/$VERSION/etc/refcards/*pdf \
    1.32 +		$fs/usr/share/emacs/$VERSION/etc/refcards
    1.33  	status
    1.34  	# Doc
    1.35  	echo -n "Copying doc files"
    1.36 -	DOC_FILES="	COOKIES DOC-${VERSION:0:4}.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \
    1.37 -				INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \
    1.38 -				NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \
    1.39 -				WHY-FREE compilation.txt enriched.doc gnus-tut.txt grep.txt"
    1.40 +	DOC_FILES="COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
    1.41 +GNUS-NEWS HELLO INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION \
    1.42 +NEWS.* NXML-NEWS ORG-NEWS PROBLEMS TERMS THE-GNU-PROJECT WHY-FREE \
    1.43 +compilation.txt gnus-tut.txt grep.txt"
    1.44  	for file in $DOC_FILES; do
    1.45 -		cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc
    1.46 +		cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file \
    1.47 +			$fs/usr/share/emacs/$VERSION/etc
    1.48  	done
    1.49  	status
    1.50  }