summaryrefslogtreecommitdiff
path: root/pcr/renpy/renpy.install
blob: 9630a255fde3b8b2cfc493058e45508c717700f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  ln -sf "/usr/share/doc/renpy" "/usr/share/renpy/doc"

  cat << EOF
This package sets global environment variable RENPY_BASE, forcing all RenPy
games, including incompatible ones, to use system-wide interpreter. Undefine
this variable to launch games, you downloaded somewhere, with their built-in
versions of interpreter.

To run two example games: The Question and RenPy Tutorial you should be
member of "games" group.
EOF
}

post_upgrade() {
  post_install
}

pre_remove() {
  rm "/usr/share/renpy/doc"
}