diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-13 12:45:16 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-13 12:45:16 -0400 |
commit | f18709d23397cb7673875feafac0d6e50e2a1da6 (patch) | |
tree | 392bc0997839470331ca864f3d47c3d34ff21955 | |
parent | b6832a4564322f8eec59a061f382d248f1414b5b (diff) | |
download | runescape-launcher-launcher-2cf04d566db77dd5c960bc9a6f58b6ec795046d1.tar.xz runescape-launcher-launcher-2cf04d566db77dd5c960bc9a6f58b6ec795046d1.zip |
generate runescape-launcher-launcher.desktop path1.2
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | runescape-launcher-launcher.desktop | 2 | ||||
-rw-r--r-- | runescape-launcher-launcher.desktop.in | 11 |
3 files changed, 22 insertions, 3 deletions
@@ -2,9 +2,15 @@ prefix := /usr/local bindir := $(prefix)/bin datarootdir := $(prefix)/share -all: +all: runescape-launcher-launcher.desktop -install: +runescape-launcher-launcher.desktop: runescape-launcher-launcher.desktop.in + sed -e 's#@bindir@#$(bindir)#' $< > $@ + +clean: + rm -f runescape-launcher-launcher.desktop + +install: all install -Dm755 runescape-launcher-launcher $(DESTDIR)$(bindir)/runescape-launcher-launcher install -Dm644 runescape-launcher-launcher.desktop $(DESTDIR)$(datarootdir)/runescape-launcher-launcher.desktop install -Dm644 icons/runescape-16x16.png $(DESTDIR)$(datarootdir)/icons/hicolor/16x16/apps/runescape.png @@ -14,3 +20,5 @@ install: install -Dm644 icons/runescape-64x64.png $(DESTDIR)$(datarootdir)/icons/hicolor/64x64/apps/runescape.png install -Dm644 icons/runescape-256x256.png $(DESTDIR)$(datarootdir)/icons/hicolor/256x256/apps/runescape.png install -Dm644 icons/runescape-512x512.png $(DESTDIR)$(datarootdir)/icons/hicolor/512x512/apps/runescape.png + +.PHONY: all clean install diff --git a/runescape-launcher-launcher.desktop b/runescape-launcher-launcher.desktop index 7e1c776..3ec6c6e 100644 --- a/runescape-launcher-launcher.desktop +++ b/runescape-launcher-launcher.desktop @@ -5,7 +5,7 @@ Name=RuneScape GenericName=RuneScape Comment=RuneScape - A Free MMORPG from Jagex Ltd. Icon=runescape -Exec=/usr/bin/runescape-launcher-launcher %u +Exec=/usr/local/bin/runescape-launcher-launcher %u Categories=Game; MimeType=x-scheme-handler/rs-launch;x-scheme-handler/rs-launchs diff --git a/runescape-launcher-launcher.desktop.in b/runescape-launcher-launcher.desktop.in new file mode 100644 index 0000000..c34d491 --- /dev/null +++ b/runescape-launcher-launcher.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=RuneScape +GenericName=RuneScape +Comment=RuneScape - A Free MMORPG from Jagex Ltd. +Icon=runescape +Exec=@bindir@/runescape-launcher-launcher %u +Categories=Game; +MimeType=x-scheme-handler/rs-launch;x-scheme-handler/rs-launchs + |