updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-chess-git / emacs-chess.install
blob22556bb08e5e215aeb4cda371001c64e77d4a6f1
1 infodir=usr/share/info
2 filelist=(chess.info)
4 post_install() {
5   [ -x usr/bin/install-info ] || return 0
6   for file in ${filelist[@]}; do
7     install-info $infodir/$file.gz $infodir/dir 2> /dev/null
8   done
9   echo "Load /usr/share/emacs/site-lisp/chess.el to run chess"
12 post_upgrade() {
13   post_install $1
16 pre_remove() {
17   [ -x usr/bin/install-info ] || return 0
18   for file in ${filelist[@]}; do
19     install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
20   done