abbaye-des-morts: init at 2.0.1

gstqt5
marius851000 2019-05-29 11:42:31 +02:00 committed by Franz Pletz
parent c17e93380f
commit ac6e484cf8
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, SDL2, SDL2_image, SDL2_mixer }:
stdenv.mkDerivation rec {
pname = "abbaye-des-morts";
version = "2.0.1";
src = fetchFromGitHub {
owner = "nevat";
repo = "abbayedesmorts-gpl";
rev = "v${version}";
sha256 = "1pwqf7r9bqb2p3xrw9i7y8pgr1401fy3mnnqpb1qkhmdl3gqi9hb";
};
buildInputs = [ SDL2 SDL2_image SDL2_mixer ];
makeFlags = [ "PREFIX=$(out)" "DESTDIR=" ];
preBuild = stdenv.lib.optionalString stdenv.cc.isClang
''
substituteInPlace Makefile \
--replace -fpredictive-commoning ""
'';
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/share/applications
'';
meta = with stdenv.lib; {
homepage = "https://locomalito.com/abbaye_des_morts.php";
description = "A retro arcade video game";
license = licenses.gpl3;
maintainers = [ maintainers.marius851000 ];
};
}

View File

@ -21182,6 +21182,8 @@ in
_90secondportraits = callPackage ../games/90secondportraits { love = love_0_10; };
abbaye-des-morts = callPackage ../games/abbaye-des-morts { };
adom = callPackage ../games/adom { };
airstrike = callPackage ../games/airstrike { };