nixpkgs/pkgs/tools/misc/xflux/setup.patch
2016-05-22 20:32:31 -04:00

29 lines
1.1 KiB
Diff

diff --git a/setup.py b/setup.py
index e11f199..b1cb0e5 100644
--- a/setup.py
+++ b/setup.py
@@ -4,13 +4,6 @@ from distutils.core import setup
from sys import maxsize
from os import rename
-# Determines which is the appropriate executable for 32-bit
-if maxsize == 2147483647:
- rename("xflux32", "xflux")
-# ... or 64-bit processors
-elif maxsize == 9223372036854775807:
- rename("xflux64", "xflux")
-
setup(name = "f.lux indicator applet",
version = "1.1.8",
description = "f.lux indicator applet - better lighting for your computer",
@@ -22,8 +15,7 @@ setup(name = "f.lux indicator applet",
packages = ["fluxgui",],
package_data = {"fluxgui" : ["*.glade"] },
data_files=[('share/icons/hicolor/scalable/apps', ['fluxgui.svg', 'fluxgui-light.svg', 'fluxgui-dark.svg']),
- ('share/applications', ['desktop/fluxgui.desktop']),
- ('bin', ['xflux']),],
+ ('share/applications', ['desktop/fluxgui.desktop']),],
scripts = ["fluxgui"],
long_description = """f.lux indicator applet is an indicator applet to
control xflux, an application that makes the color of your computer's