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:
parent
1a484c8ba2
commit
75b3c9eb95
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue