If you look at any of the files in /usr/share/applications, you'll see they're fairly self-explanatory. Just copy one to something like /usr/share/applications/quake2.desktop and edit it to suit your needs. It should appear in your menu and stuff after that (you may need to restart X).