nixpkgs/pkgs/misc/emulators/atari800/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

13 lines
171 B
Bash

source $stdenv/setup
preConfigure() {
cd src
}
postInstall() {
romsDir=$out/share/atari800/roms
mkdir -p $romsDir
unzip $rom -d $romsDir
}
genericBuild