mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Improve packaging of xbrightness
This commit is contained in:
parent
ce8651ba1e
commit
11e3503f10
2 changed files with 7 additions and 17 deletions
|
@ -1,16 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
configurePhase() {
|
||||
xmkmf
|
||||
}
|
||||
|
||||
buildPhase() {
|
||||
make $makeFlags
|
||||
}
|
||||
|
||||
installPhase() {
|
||||
make install BINDIR=$out/bin
|
||||
make install.man MANPATH=$out/share/man
|
||||
}
|
||||
|
||||
genericBuild
|
|
@ -3,7 +3,6 @@
|
|||
stdenv.mkDerivation {
|
||||
|
||||
name = "xbrightness-0.3-mika-akk";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://shallowsky.com/software/xbrightness/xbrightness-0.3-mika-akk.tar.gz;
|
||||
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
|
||||
|
@ -19,6 +18,13 @@ stdenv.mkDerivation {
|
|||
xlibs.libXxf86vm
|
||||
];
|
||||
|
||||
configurePhase = "xmkmf";
|
||||
|
||||
installPhase = ''
|
||||
make install BINDIR=$out/bin
|
||||
make install.man MANPATH=$out/share/man
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "X11 brigthness and gamma software control";
|
||||
homepage = http://shallowsky.com/software;
|
||||
|
|
Loading…
Reference in a new issue