mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
48 lines
856 B
Text
48 lines
856 B
Text
# 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 $*
|