summarylogtreecommitdiffstats
path: root/arbit-bin.install
blob: 0782c0954ec1ae24bbd63406d93f414e0819b5d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
post_install() {
  if command -v gtk-update-icon-cache >/dev/null 2>&1; then
    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  fi

  if command -v update-desktop-database >/dev/null 2>&1; then
    update-desktop-database -q
  fi

  cat <<'EOF'
DonutStudio (legacy codename: Arbit) installed.

NOTE: this package is the legacy codename. New users should install
  'donutstudio-bin' instead — same engine binary, public-facing name.
  You can remove this package with:
    sudo pacman -Rns arbit-bin


Run it from your application menu or with:
  arbit

(Equivalent to the donutstudio-bin package — same engine binary.
 donutstudio-bin is the canonical package name going forward; this
 one stays for backward compat until deprecated.)

Plugin paths (legacy codename, install scripts do not rename for
 the legacy package):
  VST3: /usr/lib/vst3/Arbit.vst3
  CLAP: /usr/lib/clap/Arbit.clap

Bitwig controller script:
  /usr/share/arbit/PureHarmony.control.js
EOF
}

post_upgrade() {
  post_install
}

post_remove() {
  if command -v gtk-update-icon-cache >/dev/null 2>&1; then
    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  fi

  if command -v update-desktop-database >/dev/null 2>&1; then
    update-desktop-database -q
  fi
}