wok-current annotate emacs-pkg-lua-mode/receipt @ rev 23103

updated libssh and libssh-dev (0.8.7 -> 0.9.3)
author Hans-G?nter Theisgen
date Thu Mar 12 11:22:59 2020 +0100 (2020-03-12)
parents dfef8de3d270
children 5ea0ce1cecc0
rev   line source
domcox@3938 1 # SliTaz package receipt.
domcox@3938 2
domcox@3938 3 PACKAGE="emacs-pkg-lua-mode"
Hans-G?nter@22695 4 VERSION="20130419"
domcox@3938 5 CATEGORY="development"
Hans-G?nter@22695 6 TAGS="emacs lua"
domcox@3938 7 SHORT_DESC="An Emacs major mode for editing Lua code."
domcox@3938 8 MAINTAINER="domcox@slitaz.org"
pascal@15202 9 LICENSE="GPL3"
Hans-G?nter@22695 10 WEB_SITE="https://github.com/immerrr/lua-mode/"
Hans-G?nter@22695 11
Hans-G?nter@22695 12 TARBALL="$PACKAGE-rel-$VERSION.tar.gz"
Hans-G?nter@22695 13 WGET_URL="${WEB_SITE}archive/rel-$VERSION.tar.gz"
domcox@3938 14
pascal@15202 15 DEPENDS="emacs"
Hans-G?nter@22695 16 BUILD_DEPENDS="emacs"
domcox@3938 17
domcox@3938 18 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3938 19 genpkg_rules()
domcox@3938 20 {
domcox@14086 21 echo -n "Installing start file"
Hans-G?nter@22695 22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d &&
Hans-G?nter@22695 23 cp -a $stuff/90-lua-mode.el \
Hans-G?nter@22695 24 $fs/usr/share/emacs/site-lisp/site-start.d
domcox@14086 25 status
domcox@14086 26
domcox@3938 27 echo -n "Installing lua-mode"
Hans-G?nter@22695 28 mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode &&
Hans-G?nter@22695 29 cp -a $src/lua-mode.el \
Hans-G?nter@22695 30 $fs/usr/share/emacs/site-lisp/lua-mode
domcox@3938 31 status
domcox@8127 32
domcox@8127 33 # byte-compile files, remove src
Hans-G?nter@22695 34 for file in $fs/usr/share/emacs/site-lisp/lua-mode/*.el
Hans-G?nter@22695 35 do
Hans-G?nter@22695 36 echo -n "Byte-compiling $(basename $file)"
domcox@14193 37 emacs -batch -f batch-byte-compile $file 2> /dev/null; err=$?
domcox@8127 38 status
domcox@14193 39 [ "$err" = "0" ] && rm -f $file
Hans-G?nter@22695 40 done
pascal@14196 41 true
domcox@3939 42 }
domcox@3939 43
domcox@14086 44 post_install()
domcox@8127 45 {
pascal@17552 46 chroot "$1/" tazpkg reconfigure emacs
domcox@8127 47 }
domcox@8127 48
domcox@3939 49 post_remove()
domcox@3939 50 {
pascal@17552 51 chroot "$1/" tazpkg reconfigure emacs
domcox@3939 52 }