wok-next view emacs-pkg-go-mode/receipt @ rev 17877
ncurses-common: restore file names, fixes alsamixer+vte F-keys, cairo:
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Mar 28 14:23:43 2015 +0100 (2015-03-28) |
parents | 4a4761329067 |
children |
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 chroot "$1/" tazpkg reconfigure emacs
33 }
35 post_remove()
36 {
37 chroot "$1/" tazpkg reconfigure emacs
38 }