wok-next annotate emacs-pkg-text-translator/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
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" |
al@21057 | 10 HOST_ARCH="any" |
domcox@8451 | 11 |
al@21020 | 12 genpkg_rules() { |
al@21020 | 13 # Installing start file |
al@21020 | 14 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && |
al@21020 | 15 cp -a $stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8451 | 16 |
al@21020 | 17 # Installing text-translator |
al@21020 | 18 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && |
al@21020 | 19 cp -a $stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator |
al@21020 | 20 DEPENDS="emacs" |
al@21020 | 21 TAGS="emacs" |
domcox@8451 | 22 } |
domcox@8451 | 23 |
al@21020 | 24 post_install() { |
pascal@17552 | 25 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 26 } |
domcox@8451 | 27 |
al@21020 | 28 post_remove() { |
pascal@17552 | 29 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 30 } |