PKGBUILDs/community/ecb/ecb.install

49 lines
856 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
# arg 1: the new package version
pre_install() {
cat << EOM
In order to actually use ecb you have to follow some more steps:
1. Add the new ECB-directory to your emacs load-path variable.
For example you may add this line into your ~/.emacs file:
(add-to-list 'load-path "/usr/share/emacs/site-lisp/ecb")
2. To load ecb at startup:
(require 'ecb)
- or -
To load ecb first after starting it by ecb-activate:
(require 'ecb-autoloads)
EOM
}
# arg 1: the new package version
post_install() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*