updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / ardour2-svn / ardour2.install
blobe4af4a6a49d079adaad224d2155b7d8115fe4380
1 up_db() {
2   echo
3   echo "==> Updating desktop database..."
4   update-desktop-database -q
5   update-mime-database /usr/share/mime &> /dev/null
8 nag() {
9 cat << EOM
11 ==> If you are even a little serious about Ardour,
12 ==> please fund features, donate and/or subscribe
13 ==> as a financial supporter:
15 http://ardour.org/bugbounty
16 http://ardour.org/subscribe2
17 http://ardour.org/donate2
19 EOM
22 post_install() {
23   ln -s /usr/bin/ardour2 /usr/bin/ardour
24   ln -s /usr/share/ardour2/icons/ardour_icon_48px.png \
25     /usr/share/pixmaps/ardour.png
27   up_db
28   nag
31 post_upgrade() {
32   up_db
33   nag
36 post_remove() {
37   rm -f /usr/bin/ardour
38   rm -f /usr/share/pixmaps/ardour.png
39   up_db