post_install() {
  rm -fv /usr/share/man/man8/rankmirrors.8.gz
  ln -sfv /usr/share/man/man8/pacman-mirrors.8.gz \
    /usr/share/man/man8/rankmirrors.8.gz
}

post_upgrade() {
  post_install
}

## arg 1:  the old package version
#pre_remove() {
  # do something here
#}

## arg 1:  the old package version
#post_remove() {
  # do something here
#}
