Description: install to /usr/games instead of /usr/bin
 Install fceux and the server to /usr/games to follow Debian policy and the FHS.
Author: Joe Nahmias <jello@debian.org>
Last-Update: 2013-06-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- fceux.orig/SConstruct
+++ fceux/SConstruct
@@ -210,13 +210,13 @@
 share_src = 'output/'
 share_dst = prefix + '/share/fceux/'
 
-env.Install(prefix + "/bin/", fceux)
-env.Install(prefix + "/bin/", "fceux-net-server")
+env.Install(prefix + "/games/", fceux)
+env.Install(prefix + "/games/", "fceux-net-server")
 # TODO:  Where to put auxlib on "scons install?"
 env.Alias('install', env.Command(auxlib_inst_dst, auxlib_src, [Copy(auxlib_inst_dst, auxlib_src)]))
 env.Alias('install', env.Command(share_dst, share_src, [Copy(share_dst, share_src)]))
 env.Alias('install', env.Command(man_dst, man_src, [Copy(man_dst, man_src)]))
 env.Alias('install', env.Command(man_net_dst, man_net_src, [Copy(man_net_dst, man_net_src)]))
-env.Alias('install', (prefix + "/bin/"))
+env.Alias('install', (prefix + "/games/"))
 
 
--- fceux.orig/fceux.desktop
+++ fceux/fceux.desktop
@@ -5,7 +5,7 @@
 GenericName=NES/Famicom emulator
 NoDisplay=false
 Comment=Emulate NES ROMs
-Exec=/usr/bin/fceux
+Exec=/usr/games/fceux
 Icon=/usr/share/pixmaps/fceux.png
 Terminal=false
 MimeType=application/x-nes-rom
