summarylogtreecommitdiffstats
path: root/eureka.patch
diff options
context:
space:
mode:
Diffstat (limited to 'eureka.patch')
-rw-r--r--eureka.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/eureka.patch b/eureka.patch
new file mode 100644
index 000000000000..04bfbb0411dd
--- /dev/null
+++ b/eureka.patch
@@ -0,0 +1,21 @@
+--- eureka-1.21-source-orig/Makefile 2017-01-12 04:40:19.000000000 +0100
++++ eureka-1.21-source/Makefile 2017-01-12 22:39:23.218923650 +0100
+@@ -134,7 +134,8 @@
+ stripped: $(PROGRAM)
+ strip $(STRIP_FLAGS) $(PROGRAM)
+
+-install: stripped
++install:
++ install -d $(PREFIX)/bin
+ install -o root -m 755 $(PROGRAM) $(PREFIX)/bin/
+ install -d $(INSTALL_DIR)/games
+ install -d $(INSTALL_DIR)/common
+@@ -147,8 +148,6 @@
+ install -o root -m 644 games/*.* $(INSTALL_DIR)/games
+ install -o root -m 644 common/*.* $(INSTALL_DIR)/common
+ install -o root -m 644 ports/*.* $(INSTALL_DIR)/ports
+- xdg-desktop-menu install --novendor misc/eureka.desktop
+- xdg-icon-resource install --novendor --size 32 misc/eureka.xpm
+
+ uninstall:
+ rm -v $(PREFIX)/bin/$(PROGRAM)