mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
48 lines
1 KiB
Text
48 lines
1 KiB
Text
|
# arg 1: the new package version
|
||
|
pre_install() {
|
||
|
/bin/true
|
||
|
}
|
||
|
|
||
|
# arg 1: the new package version
|
||
|
post_install() {
|
||
|
echo
|
||
|
echo "Below is a list of optional dependencies needed by certain modules:"
|
||
|
echo
|
||
|
echo " ----------------------- ------------------"
|
||
|
echo "| module | package |"
|
||
|
echo " ----------------------- ------------------"
|
||
|
echo "| ao_sound | libao |"
|
||
|
echo "| panelkadu | libxtst |"
|
||
|
echo "| plus_pl_sms | curl |"
|
||
|
echo "| sound | libsndfile |"
|
||
|
echo "| spellchecker | aspell |"
|
||
|
echo " ----------------------- ------------------"
|
||
|
echo
|
||
|
}
|
||
|
|
||
|
# 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() {
|
||
|
post_install
|
||
|
}
|
||
|
|
||
|
# arg 1: the old package version
|
||
|
pre_remove() {
|
||
|
/bin/true
|
||
|
}
|
||
|
|
||
|
# arg 1: the old package version
|
||
|
post_remove() {
|
||
|
/bin/true
|
||
|
}
|
||
|
|
||
|
op=$1
|
||
|
shift
|
||
|
$op $*
|