commit
291315ced9
2 changed files with 6 additions and 3 deletions
|
@ -7,4 +7,4 @@ test -d ~/.blobby || {
|
||||||
( cd ~/.blobby; for i in *.zip; do @unzip@/bin/unzip "$i"; done )
|
( cd ~/.blobby; for i in *.zip; do @unzip@/bin/unzip "$i"; done )
|
||||||
}
|
}
|
||||||
|
|
||||||
@out@/bin/blobby.bin
|
exec @out@/bin/blobby.bin "$@"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }:
|
{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, unzip, pkg-config }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "blobby-volley";
|
pname = "blobby-volley";
|
||||||
|
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||||
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
|
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
inherit unzip;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp ../data/Icon.bmp "$out/share/blobby/"
|
cp ../data/Icon.bmp "$out/share/blobby/"
|
||||||
mv "$out/bin"/blobby{,.bin}
|
mv "$out/bin"/blobby{,.bin}
|
||||||
|
@ -28,7 +30,8 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ raskin ];
|
maintainers = with maintainers; [ raskin ];
|
||||||
homepage = "http://blobby.sourceforge.net/";
|
homepage = "https://blobbyvolley.de/";
|
||||||
downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
|
downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
|
||||||
|
mainProgram = "blobby";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue