wok diff emacs-help/receipt @ rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents 051931e905b0
children
line diff
     1.1 --- a/emacs-help/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.2 +++ b/emacs-help/receipt	Mon Jan 17 11:01:52 2022 +0000
     1.3 @@ -1,46 +1,50 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emacs-help"
     1.7 -VERSION="24.3"
     1.8 +VERSION="26.3"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="The GNU Emacs editor - Help files"
    1.11 +SHORT_DESC="The GNU Emacs editor - Help files."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://www.gnu.org/software/emacs/"
    1.15 -WANTED="emacs"
    1.16 +WEB_SITE="https://www.gnu.org/software/emacs/"
    1.17  
    1.18  DEPENDS="emacs"
    1.19 +WANTED="emacs"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	# Help files
    1.25  	echo -n "Copying info files"
    1.26 -	mkdir -p $fs/usr/share/info && \
    1.27 -	cp -a $install/usr/share/info/* $fs/usr/share/info && \
    1.28 +	mkdir -p $fs/usr/share/info &&
    1.29 +	cp -a $install/usr/share/info/*	$fs/usr/share/info &&
    1.30  	status
    1.31 +
    1.32  	# Tutorial
    1.33  	echo -n "Copying tutorial files"
    1.34 -	mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
    1.35 +	mkdir -p $fs/usr/share/emacs/$VERSION/etc &&
    1.36  	cp -a $install/usr/share/emacs/$VERSION/etc/tutorials \
    1.37 -		$fs/usr/share/emacs/$VERSION/etc
    1.38 +					$fs/usr/share/emacs/$VERSION/etc
    1.39  	status
    1.40 +
    1.41  	# refcards
    1.42  	echo -n "Copying refcards"
    1.43 -	mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards && \
    1.44 +	mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards &&
    1.45  	cp -a  $install/usr/share/emacs/$VERSION/etc/refcards/*pdf \
    1.46 -		$fs/usr/share/emacs/$VERSION/etc/refcards
    1.47 +					$fs/usr/share/emacs/$VERSION/etc/refcards
    1.48  	status
    1.49 -	# Doc
    1.50 -	echo -n "Copying doc files"
    1.51 -	DOC_FILES="COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
    1.52 -GNUS-NEWS HELLO INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION \
    1.53 +
    1.54 +	# Documentation
    1.55 +	echo -n "Copying documentation files"
    1.56 +	DOC_FILES="DOC DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
    1.57 +GNUS-NEWS HELLO JOKES LINUX-GNU MH-E-NEWS MORE.STUFF \
    1.58  NEWS.* NXML-NEWS ORG-NEWS PROBLEMS TERMS THE-GNU-PROJECT WHY-FREE \
    1.59  compilation.txt gnus-tut.txt grep.txt"
    1.60 -	for file in $DOC_FILES; do
    1.61 +	for file in $DOC_FILES
    1.62 +	  do
    1.63  		cp -a $install/usr/share/emacs/$VERSION/etc/$file \
    1.64 -			$fs/usr/share/emacs/$VERSION/etc
    1.65 -	done
    1.66 +					$fs/usr/share/emacs/$VERSION/etc
    1.67 +	  done
    1.68  	status
    1.69  }
    1.70