commit: 1eeb0bb995d109c8cafc730ef21ff4a1a2ef6c90
parent: 9c11983fadcb5ce3bcf6fbbdb2e3c7dfff09d653
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 31 Oct 2019 13:02:49 +0100
Create and Install badwolf.desktop
Diffstat:
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,6 +4,7 @@ PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
DATADIR = $(PREFIX)/share/badwolf
+APPSDIR = $(PREFIX)/share/applications
PACKAGE = Badwolf
DEPS = gtk+-3.0 webkit2gtk-4.0
@@ -44,6 +45,8 @@ install: all
cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1
mkdir -p $(DESTDIR)$(DATADIR)/locale
cp -r locale/ $(DESTDIR)$(DATADIR)
+ mkdir -p $(DESTDIR)$(APPSDIR)
+ cp -p badwolf.desktop $(DESTDIR)$(APPSDIR)/
clean:
rm -fr locale $(OBJS) $(EXE)
diff --git a/badwolf.desktop b/badwolf.desktop
@@ -0,0 +1,15 @@
+# https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/
+[Desktop Entry]
+Version=1.1
+Type=Application
+Categories=Network;WebBrowser
+Comment=A minimalist and privacy-oriented web browser
+Comment[fr]=Un navigateur web minimaliste et orienté vers le respect de la vie privée
+Exec=badwolf %U
+GenericName=Web Browser
+GenericName[fr]=Navigateur Web
+Icon=web-browser
+Keywords=Internet;WWW;Browser;Web;WebKit;WebKitGTK
+Keywords[fr]=Internet;WWW;Browser;Web;Surfer;Navigateur;WebKit;WebKitGTK
+MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https
+Name=Badwolf