wok-6.x annotate emacs-pkg-go-mode/receipt @ rev 19763
goffice: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 10:45:21 2017 +0100 (2017-02-19) |
parents | 4a4761329067 |
children |
rev | line source |
---|---|
domcox@16007 | 1 # SliTaz package receipt. |
domcox@16007 | 2 |
domcox@16007 | 3 PACKAGE="emacs-pkg-go-mode" |
domcox@16007 | 4 VERSION="1.2.1" |
domcox@16007 | 5 CATEGORY="development" |
domcox@16007 | 6 SHORT_DESC="An Emacs major mode for editing Go code." |
domcox@16007 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@16007 | 8 LICENSE="GPL3" |
domcox@16007 | 9 BUILD_DEPENDS="emacs" |
domcox@16007 | 10 WEB_SITE="http://www.golang.org" |
domcox@16007 | 11 WANTED="go" |
domcox@16007 | 12 TAGS="emacs go" |
domcox@16007 | 13 |
domcox@16007 | 14 DEPENDS="emacs" |
domcox@16007 | 15 |
domcox@16007 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@16007 | 17 genpkg_rules() |
domcox@16007 | 18 { |
domcox@16007 | 19 echo -n "Installing start file" |
domcox@16007 | 20 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@16007 | 21 cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@16007 | 22 status |
domcox@16007 | 23 |
domcox@16007 | 24 echo -n "Installing go-mode" |
domcox@16007 | 25 mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \ |
domcox@16007 | 26 cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode |
domcox@16007 | 27 status |
domcox@16007 | 28 } |
domcox@16007 | 29 |
domcox@16007 | 30 post_install() |
domcox@16007 | 31 { |
pascal@17552 | 32 chroot "$1/" tazpkg reconfigure emacs |
domcox@16007 | 33 } |
domcox@16007 | 34 |
domcox@16007 | 35 post_remove() |
domcox@16007 | 36 { |
pascal@17552 | 37 chroot "$1/" tazpkg reconfigure emacs |
domcox@16007 | 38 } |