wok-next annotate emacs-pkg-vala-mode/receipt @ rev 21289

updated gnuradio again (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 12:33:53 2019 +0100 (2019-12-08)
parents d5aab818505e
children
rev   line source
domcox@8443 1 # SliTaz package receipt.
domcox@8443 2
domcox@8443 3 PACKAGE="emacs-pkg-vala-mode"
domcox@8443 4 VERSION="0.1"
domcox@8443 5 CATEGORY="development"
al@21020 6 SHORT_DESC="An Emacs major mode for editing Vala code"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15202 8 LICENSE="GPL3"
al@21020 9 WEB_SITE="https://wiki.gnome.org/Projects/Vala/Emacs"
al@21057 10 HOST_ARCH="any"
al@20882 11 REPOLOGY="emacs-vala-mode"
al@20882 12
domcox@14094 13 BUILD_DEPENDS="emacs"
domcox@8443 14
al@21020 15 genpkg_rules() {
domcox@14088 16 echo -n "Installing start file"
al@21020 17 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d &&
al@21020 18 cp -a $stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d
domcox@14088 19 status
domcox@14088 20
domcox@8443 21 echo -n "Installing vala-mode"
al@21020 22 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode &&
al@21020 23 cp -a $stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode
domcox@8443 24 status
domcox@8443 25
domcox@14088 26 # byte-compile files, remove src
al@21020 27 for file in $fs/usr/share/emacs/site-lisp/vala-mode/vala*.el; do
domcox@14195 28 echo -n "Byte-compiling $(basename file)"
al@21020 29 emacs -batch -f batch-byte-compile $file 2>/dev/null; err=$?
domcox@14088 30 status
domcox@14195 31 [ "$err" = "0" ] && rm -f $file
domcox@14088 32 done
pascal@14196 33 true
al@21020 34 DEPENDS="emacs"
al@21020 35 TAGS="emacs vala"
domcox@8443 36 }
domcox@8443 37
al@21020 38 post_install() {
pascal@17552 39 chroot "$1/" tazpkg reconfigure emacs
domcox@8443 40 }
domcox@8443 41
al@21020 42 post_remove() {
pascal@17552 43 chroot "$1/" tazpkg reconfigure emacs
domcox@8443 44 }