Merge pull request #32235 from magnetophon/evopedia

evopedia: patch the desktop file
This commit is contained in:
Jörg Thalheim
2017-12-01 21:03:58 +00:00
committed by GitHub

View File

@@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
buildInputs = [ bzip2 qt4 libX11 ];
nativeBuildInputs = [ qmake4Hook ];
postInstall = ''
# Patch the `evopedia.desktop' file.
substituteInPlace $out/share/applications/evopedia.desktop \
--replace '/usr/bin/evopedia' $out/bin/evopedia
'';
meta = with stdenv.lib; {
description = "Offline Wikipedia Viewer";
homepage = http://www.evopedia.info;