wok-6.x rev 22695

updated emacs-pkg-lua-mode (20111107 -> 20130419)
author Hans-G?nter Theisgen
date Tue Jan 21 07:09:37 2020 +0100 (2020-01-21)
parents e383644c6490
children d8cc3407c851
files emacs-pkg-lua-mode/receipt
line diff
     1.1 --- a/emacs-pkg-lua-mode/receipt	Mon Jan 20 18:55:12 2020 +0100
     1.2 +++ b/emacs-pkg-lua-mode/receipt	Tue Jan 21 07:09:37 2020 +0100
     1.3 @@ -1,37 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emacs-pkg-lua-mode"
     1.7 -VERSION="20111107"
     1.8 +VERSION="20130419"
     1.9  CATEGORY="development"
    1.10 +TAGS="emacs lua"
    1.11  SHORT_DESC="An Emacs major mode for editing Lua code."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -BUILD_DEPENDS="emacs"
    1.15 -WEB_SITE="http://immerrr.github.com/lua-mode/"
    1.16 -TAGS="emacs lua"
    1.17 +WEB_SITE="https://github.com/immerrr/lua-mode/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-rel-$VERSION.tar.gz"
    1.20 +WGET_URL="${WEB_SITE}archive/rel-$VERSION.tar.gz"
    1.21  
    1.22  DEPENDS="emacs"
    1.23 +BUILD_DEPENDS="emacs"
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28  	echo -n "Installing start file"
    1.29 -	mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
    1.30 -	cp -a $stuff/90-lua-mode.el $fs/usr/share/emacs/site-lisp/site-start.d
    1.31 +	mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d &&
    1.32 +	cp -a $stuff/90-lua-mode.el \
    1.33 +		$fs/usr/share/emacs/site-lisp/site-start.d
    1.34  	status
    1.35  
    1.36  	echo -n "Installing lua-mode"
    1.37 -	mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \
    1.38 -	cp -a $stuff/lua-mode.el $fs/usr/share/emacs/site-lisp/lua-mode
    1.39 +	mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode &&
    1.40 +	cp -a $src/lua-mode.el \
    1.41 +		$fs/usr/share/emacs/site-lisp/lua-mode
    1.42  	status
    1.43  
    1.44  	# byte-compile files, remove src
    1.45 -	for file in $fs/usr/share/emacs/site-lisp/lua-mode/*.el ; do
    1.46 -		echo -n "Byte-compiling $(basename file)"
    1.47 +	for file in $fs/usr/share/emacs/site-lisp/lua-mode/*.el
    1.48 +	  do
    1.49 +		echo -n "Byte-compiling $(basename $file)"
    1.50  		emacs -batch -f batch-byte-compile $file 2> /dev/null; err=$?
    1.51  		status
    1.52  		[ "$err" = "0" ] && rm -f $file
    1.53 -	done
    1.54 +	  done
    1.55  	true
    1.56  }
    1.57