mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Slight improvements to neverball package
This commit is contained in:
parent
0d11f9beb5
commit
c09bee391a
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||
dontPatchElf = true;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's@\./data@'$out/data@ share/base_config.h Makefile
|
||||
sed -i -e 's@\./locale@'$out/locale@ 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/share/neverball/locale@ share/base_config.h Makefile
|
||||
sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile
|
||||
'';
|
||||
|
||||
|
@ -22,13 +22,15 @@ stdenv.mkDerivation rec {
|
|||
preConfigure = "export HOME=$TMPDIR";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out
|
||||
cp -R data locale $out
|
||||
mkdir -p $out/bin $out/share/neverball
|
||||
cp -R data locale $out/share/neverball
|
||||
cp neverball $out/bin
|
||||
cp neverputt $out/bin
|
||||
cp mapc $out/bin
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://neverball.org/;
|
||||
description = "Tilt the floor to roll a ball";
|
||||
|
|
Loading…
Reference in a new issue