diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | contrib/aerc.desktop | 26 |
2 files changed, 31 insertions, 1 deletions
@@ -72,7 +72,8 @@ clean: install: $(DOCS) aerc mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \ - $(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets + $(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \ + $(DESTDIR)/share/applications install -m755 aerc $(DESTDIR)$(BINDIR)/aerc install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1 install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1 @@ -95,6 +96,7 @@ install: $(DOCS) aerc install -m644 templates/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body install -m644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default + install -m644 contrib/aerc.desktop $(DESTDIR)/share/applications/aerc.desktop .PHONY: checkinstall checkinstall: @@ -129,5 +131,7 @@ uninstall: $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man5 $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man7 $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR) + $(RM) $(DESTDIR)/share/applications/aerc.desktop + $(RMDIR_IF_EMPTY) $(DESTDIR)/share/applications .PHONY: all doc clean install uninstall debug diff --git a/contrib/aerc.desktop b/contrib/aerc.desktop new file mode 100644 index 00000000..235da5a9 --- /dev/null +++ b/contrib/aerc.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Version=1.0 +Name=aerc + +GenericName=Mail Client +GenericName[de]=Email Client +Comment=Launches the aerc email client +Comment[de]=Startet den aerc Email-Client +Keywords=Email,Mail,IMAP,SMTP +Categories=Office;Network;Email;ConsoleOnly + +Type=Application +Icon=utilities-terminal +Terminal=true +Exec=aerc %u + +[Desktop Action compose] +Name=Compose mail + +# enable as default mailto: handler using +# xdg-mime default aerc.desktop x-scheme-handler/mailto +Exec=aerc %u +MimeType=x-scheme-handler/mailto; +Type=Application +Icon=utilities-terminal +Terminal=true |