# Compiling Time: ~0.01 SBU # Maintainer: PacMiam # Contributor: DarkNekros pkgname=dwarffortress pkgver=0.40.24 pkgrel=1 pkgdesc="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" groups=('games-extra') archs=('i686') depends=('gtk+2' 'sdl' 'sdl_ttf' 'sdlimage' 'libgl' 'libglu' 'libsndfile' 'openal') options+=('nobuild' 'nostrip') Fpkgversep=_ _F_archive_name="df" _F_archive_ver=40_24 up2date="Flastarchive $url '_linux.tar.bz2'" source=(${url}/${_F_archive_name}_${_F_archive_ver}_linux.tar.bz2) sha1sums=('b8306e194d7dd103b29c6bb15994404e302e8ddf') build() { Fmkdir /usr/lib Fcp df_linux /usr/lib/$pkgname Fdirschmod /usr/lib 0755 Ffileschmod /usr/lib 0644 #To be able to exec the game as $USER Ffileschmod /usr/lib/${pkgname}/df 0775 Ffileschmod /usr/lib/${pkgname}/libs/Dwarf_Fortress 0775 # To save the data of the game as $USER Fdirschmod /usr/lib/${pkgname}/data 0775 Ffileschmod /usr/lib/${pkgname}/data 0664 Fdirschown "/usr/lib" root users Ffileschown "/usr/lib" root users Fwrapper "/usr/lib/${pkgname}/df" $pkgname }