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

Up leptonica (1.74.4). abiword, emacs: up bdeps. marble: fix build.
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Oct 21 21:21:28 2017 +0200 (2017-10-21)
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 }