wok view emacs-pkg-go-mode/receipt @ rev 17149
slitaz-configs-base: fix Slim Root Login.(/rootfs/root/.xinitrc)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 10 16:16:18 2014 +0200 (2014-09-10) |
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 }