wok-stable view emacs-pkg-vala-mode/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | 02e84802e6ea |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-vala-mode"
4 VERSION="0.1"
5 CATEGORY="development"
6 SHORT_DESC="An Emacs major mode for editing Vala code."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 WEB_SITE="http://live.gnome.org/Vala/Emacs"
10 TAGS="emacs vala"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 echo -n "Installing vala-mode"
17 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \
18 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode
19 status
21 echo -n "Installing start file"
22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
23 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d
24 status
25 }
27 post_install()
28 {
29 tazpkg reconfigure emacs
30 }
32 post_remove()
33 {
34 tazpkg reconfigure emacs
35 }