feh: build and install man pages

+12 -5
+12 -5
pkgs/applications/graphics/feh/default.nix
··· 13 sha256 = "09f5rfzls4h5jcrp7ylwbiljp5qzc2nbw9p2csv0pnlaixj69gil"; 14 }; 15 16 - outputs = [ "out" "doc" ]; 17 18 nativeBuildInputs = [ makeWrapper xorg.libXt ] 19 ++ optionals doCheck [ perlPackages.TestCommand perlPackages.TestHarness ]; ··· 22 23 preBuild = '' 24 makeFlags="PREFIX=$out exif=1" 25 - ''; 26 27 postInstall = '' 28 wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \ 29 - --add-flags '--theme=feh' 30 - ''; 31 - 32 checkPhase = '' 33 PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl" make test 34 '';
··· 13 sha256 = "09f5rfzls4h5jcrp7ylwbiljp5qzc2nbw9p2csv0pnlaixj69gil"; 14 }; 15 16 + outputs = [ "out" "man" "doc" ]; 17 18 nativeBuildInputs = [ makeWrapper xorg.libXt ] 19 ++ optionals doCheck [ perlPackages.TestCommand perlPackages.TestHarness ]; ··· 22 23 preBuild = '' 24 makeFlags="PREFIX=$out exif=1" 25 + ''; 26 + 27 + postBuild = '' 28 + pushd man 29 + make 30 + popd 31 + ''; 32 33 postInstall = '' 34 wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \ 35 + --add-flags '--theme=feh' 36 + install -D -m 644 man/*.1 $out/share/man/man1 37 + ''; 38 + 39 checkPhase = '' 40 PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl" make test 41 '';