wok-next view emacs-pkg-go-mode/receipt @ rev 16195

Up: asunder (2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 21:05:49 2014 +0000 (2014-03-30)
parents
children dfef8de3d270
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-go-mode"
4 VERSION="1.2.1"
5 CATEGORY="development"
6 SHORT_DESC="An Emacs major mode for editing Go code."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL3"
9 BUILD_DEPENDS="emacs"
10 WEB_SITE="http://www.golang.org"
11 WANTED="go"
12 TAGS="emacs go"
14 DEPENDS="emacs"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 echo -n "Installing start file"
20 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
21 cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d
22 status
24 echo -n "Installing go-mode"
25 mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \
26 cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode
27 status
28 }
30 post_install()
31 {
32 tazpkg reconfigure emacs
33 }
35 post_remove()
36 {
37 tazpkg reconfigure emacs
38 }