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";
|
checkPhase = "make unittest";
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=/" "PREFIX=$out" ];
|
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/gpodder \
|
wrapProgram $out/bin/gpodder \
|
||||||
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
|
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
|
||||||
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
|
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installPhase = "DESTDIR=/ PREFIX=$out make install";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user