As jasonwryan pointed out, you can do this more easily by using the AUR package. On the same wiki page that you provided, there is the Install method 2 - AUR entry, which explains how to install it through AUR. That approach should be easier and much more maintainable than doing it manually.
edit: to install ksh, please take a look at its PKGBUILD
# AT&T requires the user to agree to a license agreement before downloading the # source, so I didn't include the direct URLs in the PKGBUILD. Just visit # 'http://www.research.att.com/~gsf/download/', download # 'ast-ksh.2009-05-05.tgz' and 'INIT.2009-05-05.tgz', and place them in the # same directory as the PKGBUILD before running makepkg What you will have to do is you will have to:
- go here and download the needed packages
- put them both in the some directory
- navigate to that directory
- create md5 hashes for that two packages with
md5sum filename - execute yaourt -S ksh from the directory where the two packages are
- when asked if you want to edit PKGBUILD say yes
- edit source and md5sums lines (with new file names and new hashes)
- save changes and exit editing
- continue building ksh
If everything else is alright, ksh should install without problem.