Use make install instead of setup.py directly.

Using setup.py results in the following error message:

    Missing file: share/applications/gpodder.desktop

    If you want to install, use "make install" instead of using
    setup.py directly. See the README file for more information.
This commit is contained in:
Sven Keidel 2014-07-21 18:05:08 +02:00
parent 1a484c8ba2
commit 75b3c9eb95

View File

@ -23,11 +23,12 @@ in buildPythonPackage rec {
checkPhase = "make unittest";
makeFlags = [ "DESTDIR=/" "PREFIX=$out" ];
preFixup = ''
wrapProgram $out/bin/gpodder \
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
'';
installPhase = "DESTDIR=/ PREFIX=$out make install";
}