summarylogtreecommitdiffstats
path: root/epsxe.install
blob: f06e21c90a9622888cba6852127801e853f03e8b (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
post_install() {
  cat << EOF

Add your user to group 'games' in order to play.

EOF

post_upgrade
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
  _myold="${2/-/}"
  _myold="${arg2/./}"

  # version 2.0.5-32 is the first version to build the plugins from scratch using pcsxr source

  if [[ $_myold -le 20531 ]]; then
    cat << EOF
Be sure to LINK the plugin and shader directories so ePSXe can make use of them:

epsxe --link

EOF
  fi
}

#There are launcher packages out for epsxe. Search
#AUR for epsxe-launcher-* if you want to use it.

#EOF
#}

op=$1
shift
$op $*