#!/bin/sh
CWD=`pwd`
cd /tmp
tar xzvf $CWD/ispell-3.2.03.tar.gz
cd ispell-3.2.03
zcat $CWD/ispell.diff.gz | patch -p1 --verbose
make
make install
( cd /usr/lib/ispell
  ln -sf americanmed.hash american.hash
  ln -sf americanmed.hash english.hash
)
mkdir -p /usr/doc/ispell-3.2.03
cp -a Contributors Magiclines README WISHES \
  /usr/doc/ispell-3.2.03
chown -R root.root /usr/doc/ispell-3.2.03
