games/cataclysm-dda: Add missing patch

Submitter forgot to include a patch in the previous update

PR:	256977
Reported by:	greg@unrelenting.technology (maintainer)
Fixes: c0e6f62c86 - games/cataclysm-dda: update to 0.F
This commit is contained in:
Fernando Apesteguía 2021-07-09 07:11:56 +02:00
parent 49195b3eb0
commit 546ae76677

View File

@ -0,0 +1,18 @@
--- Makefile.orig 2021-07-03 05:00:06 UTC
+++ Makefile
@@ -1017,9 +1017,12 @@ install: version $(TARGET)
cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
ifeq ($(TILES), 1)
cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
- install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
- install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
- install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
+ mkdir -p $(SHARE_DIR)/applications/
+ install -m 755 data/xdg/org.cataclysmdda.CataclysmDDA.desktop $(SHARE_DIR)/applications/
+ mkdir -p $(SHARE_DIR)/metainfo/
+ install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml $(SHARE_DIR)/metainfo/
+ mkdir -p $(SHARE_DIR)/icons/hicolor/scalable/apps/
+ install -m 644 data/xdg/org.cataclysmdda.CataclysmDDA.svg $(SHARE_DIR)/icons/hicolor/scalable/apps/
endif
ifeq ($(SOUND), 1)
cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)