wok rev 16007
Add go mode for emacs (1.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 04 13:27:14 2014 +0100 (2014-03-04) |
parents | c5260802b1a2 |
children | 825165c08d25 |
files | emacs-pkg-go-mode/receipt emacs-pkg-go-mode/stuff/80-go-init.el |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-go-mode/receipt Tue Mar 04 13:27:14 2014 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="emacs-pkg-go-mode" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An Emacs major mode for editing Go code." 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +BUILD_DEPENDS="emacs" 1.13 +WEB_SITE="http://www.golang.org" 1.14 +WANTED="go" 1.15 +TAGS="emacs go" 1.16 + 1.17 +DEPENDS="emacs" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + echo -n "Installing start file" 1.23 + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 1.24 + cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d 1.25 + status 1.26 + 1.27 + echo -n "Installing go-mode" 1.28 + mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \ 1.29 + cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode 1.30 + status 1.31 +} 1.32 + 1.33 +post_install() 1.34 +{ 1.35 + tazpkg reconfigure emacs 1.36 +} 1.37 + 1.38 +post_remove() 1.39 +{ 1.40 + tazpkg reconfigure emacs 1.41 +}