PKGBUILDs/extra/blender/blender.install
2009-10-09 21:23:22 -05:00

39 lines
768 B
Text

post_install() {
cat << EOF
NOTE
----
blender is using the NAN makefiles to build, so we can access some better
features:
- i18n support
- anti-aliased interface fonts
- gameplayer
We also ship the plugins, but most of these features can be accessed only
from the users home directory. Therefore, you wanna copy everything from
/usr/share/blender to ~/.blender (some are hidden files!). The browser-
plugin builds but is using an old mozilla API, this is why it doesn't work
and we don't ship it.
Happy blending!
EOF
echo "update desktop mime database..."
update-desktop-database
}
post_upgrade() {
post_install $1
}
pre_remove() {
/bin/true
}
post_remove() {
echo "update desktop mime database..."
update-desktop-database
}
op=$1
shift
$op $*