void-packages/srcpkgs/vitetris/patches/Makefile.patch
2016-01-22 12:12:20 +01:00

34 lines
935 B
Diff

--- Makefile.orig
+++ Makefile
@@ -1,9 +1,9 @@
include config.mk
-PROGNAME = tetris$(EXE)
+PROGNAME = vitetris$(EXE)
# Uncomment to change the default. (Only used in Unix-like systems.)
-#HISCORE_FILENAME = /var/games/vitetris-hiscores
+HISCORE_FILENAME = /var/games/vitetris/hiscores
INSTALL = install -oroot -groot
@@ -56,7 +56,7 @@
install: $(PROGNAME)
$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(docdir)
$(INSTALL) -m755 $(PROGNAME) $(DESTDIR)$(bindir)
- $(INSTALL) -m644 README licence.txt $(DESTDIR)$(docdir)
+ $(INSTALL) -m644 README $(DESTDIR)$(docdir)
if [ -n "$(pixmapdir)" ]; then \
$(INSTALL) -d $(DESTDIR)$(pixmapdir) && \
$(INSTALL) -m644 vitetris.xpm $(DESTDIR)$(pixmapdir); fi
--- src/config2.h.orig
+++ src/config2.h
@@ -15,7 +15,7 @@
#endif
#if UNIX
-#define CONFIG_FILENAME ".vitetris"
+#define CONFIG_FILENAME ".config/vitetris"
#else
#define CONFIG_FILENAME "vitetris.cfg"
#endif