wok-next diff emacs-pkg-go-mode/receipt @ rev 16195

Up: asunder (2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 21:05:49 2014 +0000 (2014-03-30)
parents
children dfef8de3d270
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/emacs-pkg-go-mode/receipt	Sun Mar 30 21:05:49 2014 +0000
     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 +}