ports/editors/py-room/files/patch-setup.py
Dmitry Marakasov b5c6ec6bd2 - Fix paths to icon and executable in .desktop file
- Fix LOCALBASE/PREFIX misuse

PR:		143296
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	Alexander Best <alexbestms@wwu.de> (maintainer)
Feature safe:	yes
2010-02-17 17:06:53 +00:00

15 lines
626 B
Python

--- setup.py 2009-11-13 03:32:53.000000000 +0100
+++ setup.py 2009-11-13 03:35:25.000000000 +0100
@@ -52,9 +52,9 @@
packages = ['PyRoom',],
package_data = {'PyRoom':['interface.glade']},
data_files = [
- ('/usr/share/pyroom/themes', glob.glob('themes/*.theme')),
- ('/usr/share/pyroom', ['pyroom.png']),
- ('/usr/share/applications', ['pyroom.desktop'])
+ ('%%PREFIX%%/share/pyroom/themes', glob.glob('themes/*.theme')),
+ ('%%PREFIX%%/share/pyroom', ['pyroom.png']),
+ ('%%PREFIX%%/share/applications', ['pyroom.desktop'])
],
scripts=['pyroom',],
cmdclass={'install_data': InstallData},