Appimage: Difference between revisions
Restructure page |
→Packaging: Fix code example |
||
| Line 46: | Line 46: | ||
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications | install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications | ||
substituteInPlace $out/share/applications/${pname}.desktop \ | substituteInPlace $out/share/applications/${pname}.desktop \ | ||
--replace 'Exec=AppRun' 'Exec=${pname}' | --replace-fail 'Exec=AppRun' 'Exec=${pname}' | ||
cp -r ${appimageContents}/usr/share/icons $out/share | cp -r ${appimageContents}/usr/share/icons $out/share | ||
''; | ''; | ||
meta = | meta = { | ||
description = "Viewer for electronic invoices "; | description = "Viewer for electronic invoices"; | ||
homepage = "https://github.com/ZUGFeRD/quba-viewer"; | homepage = "https://github.com/ZUGFeRD/quba-viewer"; | ||
downloadPage = "https://github.com/ZUGFeRD/quba-viewer/releases"; | downloadPage = "https://github.com/ZUGFeRD/quba-viewer/releases"; | ||
license = licenses.asl20; | license = lib.licenses.asl20; | ||
sourceProvenance = with sourceTypes; [ binaryNativeCode ]; | sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; | ||
maintainers = with maintainers; [ onny ]; | maintainers = with lib.maintainers; [ onny ]; | ||
platforms = [ "x86_64-linux" ]; | platforms = [ "x86_64-linux" ]; | ||
}; | }; | ||