wok-current view emacs-pkg-go-mode/receipt @ rev 22708
updated eudev and eudev-dev (1.9 -> 3.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 17:49:56 2020 +0100 (2020-01-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 }