diff options
author | Nicolas Bigaouette <nbigaouette@gmail.com> | 2012-04-30 10:54:46 -0400 |
---|---|---|
committer | Nicolas Bigaouette <nbigaouette@gmail.com> | 2012-04-30 10:54:46 -0400 |
commit | 8e16a72394f2d33908bfa530782af5d70996a6c3 (patch) | |
tree | 3c227b6703c95d3a8e50cbcac2b6b41503dbeed3 /sys-devel | |
parent | No need for a dot at end of description; not a sentence. (diff) | |
download | sci-8e16a72394f2d33908bfa530782af5d70996a6c3.tar.gz sci-8e16a72394f2d33908bfa530782af5d70996a6c3.tar.bz2 sci-8e16a72394f2d33908bfa530782af5d70996a6c3.zip |
Create .desktop file using "cat >> <<- EOF" instead of "echo".
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdebugger/gdebugger-6.2.438.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sys-devel/gdebugger/gdebugger-6.2.438.ebuild b/sys-devel/gdebugger/gdebugger-6.2.438.ebuild index c7a0b5603..53ec6d2aa 100644 --- a/sys-devel/gdebugger/gdebugger-6.2.438.ebuild +++ b/sys-devel/gdebugger/gdebugger-6.2.438.ebuild @@ -50,15 +50,17 @@ src_install() { sed "s|gDEBuggerBinariesDir=.*|gDEBuggerBinariesDir=\"${_destination}\"|g" -i ${D}/usr/bin/${My_PN} dosym /usr/bin/${My_PN} /usr/bin/${PN} - echo "[Desktop Entry] -Name=${My_PN} -Exec=${_destination}/${My_PN} -Type=Application -GenericName=OpenCL/OpenGL debugger -Terminal=false -Icon=${My_PN} -Caption=OpenCL/OpenGL debugger -Categories=Application;Development;" > ${D}/usr/share/applications/${PN}.desktop || die "Can't create .desktop file" + cat >> ${D}/usr/share/applications/${PN}.desktop <<- EOF + [Desktop Entry] + Name=${My_PN} + Exec=${_destination}/${My_PN} + Type=Application + GenericName=OpenCL/OpenGL debugger + Terminal=false + Icon=${My_PN} + Caption=OpenCL/OpenGL debugger + Categories=Application;Development; +EOF insinto /usr/share/icons/hicolor/64x64/apps/ newins ${D}${_destination}/tutorial/images/applicationicon_64.png ${My_PN}.png |