nixpkgs-suyu/pkgs/misc/emulators/atari800/builder.sh

16 lines
222 B
Bash
Raw Normal View History

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