oneko: use imake setup hook
Simplifies some things here.
This commit is contained in:
parent
613e262fc2
commit
a858113076
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, xorg, xlibsWrapper }:
|
{ stdenv, fetchurl, imake, gccmakedep, xlibsWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.sakura.5";
|
version = "1.2.sakura.5";
|
||||||
@ -8,14 +8,11 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz";
|
url = "http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz";
|
||||||
sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
|
sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
|
||||||
};
|
};
|
||||||
buildInputs = [ xorg.imake xorg.gccmakedep xlibsWrapper ];
|
nativeBuildInputs = [ imake gccmakedep ];
|
||||||
|
buildInputs = [ xlibsWrapper ];
|
||||||
|
|
||||||
configurePhase = "xmkmf";
|
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
||||||
|
installTargets = "install install.man";
|
||||||
installPhase = ''
|
|
||||||
make install BINDIR=$out/bin
|
|
||||||
make install.man MANPATH=$out/share/man
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Creates a cute cat chasing around your mouse cursor";
|
description = "Creates a cute cat chasing around your mouse cursor";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user