Silly me, I waxed poetic about Dwarf Fortress the other day, but never posted the Crux port I used to install it on my system.
Be aware that this doesn’t mention the dependency on GL libraries — libgl in the original Arch PKGBUILD — that you should add depending on your hardware. I use the proprietary hardware driver from Nvidia, which is why this doesn’t include it.
# Description: Dwarf Fortress is a single-player fantasy game. You can control a dwarven outpost or an adventurer in a randomly generated, persistent world. # URL: http://www.bay12games.com/dwarves/ # Maintainer: # Depends on: gtk libsdl sdl_image name=dwarffortress version=v0.28.181.40d5 release=3 source=(http://www.bay12games.com/dwarves/df_28_181_40d5_linux.tar.bz2) build () { cd df_linux; install -d $PKG/usr/bin/; cp -r $SRC/df_linux/ $PKG/usr/bin/; echo "#!/bin/sh" > $PKG/usr/bin/dwarffortress.sh; echo "cd /usr/bin/df_linux" >> $PKG/usr/bin/dwarffortress.sh; echo "./df" >> $PKG/usr/bin/dwarffortress.sh; chmod -R 777 $PKG/usr/bin/df_linux; chmod 777 $PKG/usr/bin/dwarffortress.sh; install -D $SRC/df_linux/readme.txt $PKG/usr/share/licenses/dwarffortress/readme.txt }
Thanks once again to the Arch community for putting together a working PKGBUILD, and to Colin Zheng, for making the transition between Arch-ese and Crux-ese much, much easier.
First I was opening my mouth to complain about the necessity of Windows (and wonder how the heck you ran it), and then I was going to wonder how the heck a Crux script translates to Ubuntu, but a quick Google came up with this thread:
http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=6507516
which has this link:
http://www.bay12games.com/dwarves/dev_now.html
with a native Linux tar.gz!