widelands: 20 -> 21
This commit is contained in:
parent
25174d14f6
commit
f56f5cc78b
@ -5,7 +5,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "widelands";
|
||||
version = "20";
|
||||
version = "21";
|
||||
|
||||
meta = with lib; {
|
||||
description = "RTS with multiple-goods economy";
|
||||
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}.tar.bz2";
|
||||
sha256 = "1cmwfwk7j6yi2pwmm4rm57s23sdzasqf53nx6567sdagqyc4sn9q";
|
||||
url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}-source.tar.gz";
|
||||
sha256 = "sha256-YB4OTG+Rs/sOzizRuD7PsCNEobkZT7tw7z9w4GmU41c=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@ -45,12 +45,8 @@ stdenv.mkDerivation rec {
|
||||
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 = ''
|
||||
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;
|
||||
|
||||
widelands = callPackage ../games/widelands {
|
||||
lua = lua5_2;
|
||||
};
|
||||
widelands = callPackage ../games/widelands { };
|
||||
|
||||
worldofgoo = callPackage ../games/worldofgoo { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user