Slight improvements to neverball package
This commit is contained in:
parent
0d11f9beb5
commit
c09bee391a
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
||||||
dontPatchElf = true;
|
dontPatchElf = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's@\./data@'$out/data@ share/base_config.h Makefile
|
sed -i -e 's@\./data@'$out/share/neverball/data@ share/base_config.h Makefile
|
||||||
sed -i -e 's@\./locale@'$out/locale@ share/base_config.h Makefile
|
sed -i -e 's@\./locale@'$out/share/neverball/locale@ share/base_config.h Makefile
|
||||||
sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile
|
sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -22,13 +22,15 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = "export HOME=$TMPDIR";
|
preConfigure = "export HOME=$TMPDIR";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out
|
mkdir -p $out/bin $out/share/neverball
|
||||||
cp -R data locale $out
|
cp -R data locale $out/share/neverball
|
||||||
cp neverball $out/bin
|
cp neverball $out/bin
|
||||||
cp neverputt $out/bin
|
cp neverputt $out/bin
|
||||||
cp mapc $out/bin
|
cp mapc $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://neverball.org/;
|
homepage = http://neverball.org/;
|
||||||
description = "Tilt the floor to roll a ball";
|
description = "Tilt the floor to roll a ball";
|
||||||
|
|
Loading…
Reference in a new issue