wok-4.x annotate emacs-pkg-vala-mode/receipt @ rev 11998
c_icap: Fix receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 04 22:37:40 2012 +0100 (2012-03-04) |
parents | 02e84802e6ea |
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" |
domcox@8443 | 6 SHORT_DESC="An Emacs major mode for editing Vala code." |
domcox@8443 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@8443 | 8 DEPENDS="emacs" |
domcox@8443 | 9 WEB_SITE="http://live.gnome.org/Vala/Emacs" |
domcox@8443 | 10 TAGS="emacs vala" |
domcox@8443 | 11 |
domcox@8443 | 12 |
domcox@8443 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8443 | 14 genpkg_rules() |
domcox@8443 | 15 { |
domcox@8443 | 16 echo -n "Installing vala-mode" |
domcox@8443 | 17 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \ |
domcox@8443 | 18 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode |
domcox@8443 | 19 status |
domcox@8443 | 20 |
domcox@8443 | 21 echo -n "Installing start file" |
domcox@8443 | 22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@8449 | 23 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8443 | 24 status |
domcox@8443 | 25 } |
domcox@8443 | 26 |
domcox@8443 | 27 post_install() |
domcox@8443 | 28 { |
domcox@8443 | 29 tazpkg reconfigure emacs |
domcox@8443 | 30 } |
domcox@8443 | 31 |
domcox@8443 | 32 post_remove() |
domcox@8443 | 33 { |
domcox@8443 | 34 tazpkg reconfigure emacs |
domcox@8443 | 35 } |