orthorobot: remove phases overwrite

This commit is contained in:
Sandro 2021-06-23 12:59:57 +02:00 committed by GitHub
parent 98991704cb
commit 039b2deca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,10 +34,9 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ lua love zip ]; buildInputs = [ lua love zip ];
phases = [ "unpackPhase" "installPhase" ]; dontBuild = true;
installPhase = installPhase = ''
''
mkdir -p $out/bin $out/share/games/lovegames $out/share/applications mkdir -p $out/bin $out/share/games/lovegames $out/share/applications
zip -9 -r ${pname}.love ./* zip -9 -r ${pname}.love ./*
mv ${pname}.love $out/share/games/lovegames/${pname}.love mv ${pname}.love $out/share/games/lovegames/${pname}.love
@ -53,5 +52,4 @@ stdenv.mkDerivation {
license = licenses.free; license = licenses.free;
downloadPage = "http://stabyourself.net/orthorobot/"; downloadPage = "http://stabyourself.net/orthorobot/";
}; };
} }