mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
44 lines
632 B
Text
44 lines
632 B
Text
|
# arg 1: the new package version
|
||
|
pre_install() {
|
||
|
cat << EOM
|
||
|
|
||
|
Don't forget to add the following code into your ~/.emacs file:
|
||
|
---
|
||
|
;; Load CEDET
|
||
|
(load-file "/usr/share/emacs/site-lisp/cedet/common/cedet.el")
|
||
|
---
|
||
|
|
||
|
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 $*
|