wok-next annotate emacs-pkg-text-translator/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | dfef8de3d270 |
children | 0cbe4b1f2230 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
domcox@8451 | 2 |
domcox@8451 | 3 PACKAGE="emacs-pkg-text-translator" |
domcox@8451 | 4 VERSION="0.6.6.1" |
domcox@8451 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="Translates strings by using translation services on the web" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL3" |
domcox@8451 | 9 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator" |
domcox@8451 | 10 |
al@21020 | 11 genpkg_rules() { |
al@21020 | 12 # Installing start file |
al@21020 | 13 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && |
al@21020 | 14 cp -a $stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8451 | 15 |
al@21020 | 16 # Installing text-translator |
al@21020 | 17 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && |
al@21020 | 18 cp -a $stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator |
al@21020 | 19 DEPENDS="emacs" |
al@21020 | 20 TAGS="emacs" |
domcox@8451 | 21 } |
domcox@8451 | 22 |
al@21020 | 23 post_install() { |
pascal@17552 | 24 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 25 } |
domcox@8451 | 26 |
al@21020 | 27 post_remove() { |
pascal@17552 | 28 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 29 } |