wok annotate emacs-pkg-vala-mode/receipt @ rev 9922
thunar: fix deps/bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 17 23:13:52 2011 +0200 (2011-05-17) |
parents | 9465bbc42ff4 |
children | 3c8ac4fce2c9 |
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 SOURCE="vala-mode" |
domcox@8443 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@8443 | 11 WEB_SITE="http://live.gnome.org/Vala/Emacs" |
domcox@8443 | 12 TAGS="emacs vala" |
domcox@8443 | 13 |
domcox@8443 | 14 |
domcox@8443 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8443 | 16 genpkg_rules() |
domcox@8443 | 17 { |
domcox@8443 | 18 echo -n "Installing vala-mode" |
domcox@8443 | 19 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \ |
domcox@8443 | 20 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode |
domcox@8443 | 21 status |
domcox@8443 | 22 |
domcox@8443 | 23 echo -n "Installing start file" |
domcox@8443 | 24 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@8449 | 25 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8443 | 26 status |
domcox@8443 | 27 } |
domcox@8443 | 28 |
domcox@8443 | 29 post_install() |
domcox@8443 | 30 { |
domcox@8443 | 31 tazpkg reconfigure emacs |
domcox@8443 | 32 } |
domcox@8443 | 33 |
domcox@8443 | 34 post_remove() |
domcox@8443 | 35 { |
domcox@8443 | 36 tazpkg reconfigure emacs |
domcox@8443 | 37 } |