Improve packaging of xbrightness

This commit is contained in:
Renzo Carbonara 2015-01-16 20:23:44 -03:00
parent ce8651ba1e
commit 11e3503f10
2 changed files with 7 additions and 17 deletions

View file

@ -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

View file

@ -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;