widelands: 20 -> 21
This commit is contained in:
parent
25174d14f6
commit
f56f5cc78b
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "widelands";
|
pname = "widelands";
|
||||||
version = "20";
|
version = "21";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "RTS with multiple-goods economy";
|
description = "RTS with multiple-goods economy";
|
||||||
|
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}.tar.bz2";
|
url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}-source.tar.gz";
|
||||||
sha256 = "1cmwfwk7j6yi2pwmm4rm57s23sdzasqf53nx6567sdagqyc4sn9q";
|
sha256 = "sha256-YB4OTG+Rs/sOzizRuD7PsCNEobkZT7tw7z9w4GmU41c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -45,12 +45,8 @@ stdenv.mkDerivation rec {
|
||||||
SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf
|
SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch = ''
|
|
||||||
substituteInPlace ./debian/org.widelands.widelands.desktop --replace "/usr/share/games/widelands/data/" "$out/share/widelands/"
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/share/applications/"
|
mkdir -p "$out/share/applications/"
|
||||||
cp -v "../debian/org.widelands.widelands.desktop" "$out/share/applications/"
|
cp -v "../xdg/org.widelands.Widelands.desktop" "$out/share/applications/"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -27265,9 +27265,7 @@ in
|
||||||
|
|
||||||
wesnoth-dev = wesnoth;
|
wesnoth-dev = wesnoth;
|
||||||
|
|
||||||
widelands = callPackage ../games/widelands {
|
widelands = callPackage ../games/widelands { };
|
||||||
lua = lua5_2;
|
|
||||||
};
|
|
||||||
|
|
||||||
worldofgoo = callPackage ../games/worldofgoo { };
|
worldofgoo = callPackage ../games/worldofgoo { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue