apply desktopentry patch

This commit is contained in:
Václav Uruba 2021-04-27 16:17:39 +02:00
parent 69001b96e5
commit b659da6249
Signed by: uruba
GPG Key ID: 0059B34D61727BB0
2 changed files with 11 additions and 0 deletions

View File

@ -49,9 +49,12 @@ install: st
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
tic -sx st.info
@echo Please see the README file regarding the terminfo entry of st.
mkdir -p $(DESTDIR)$(PREFIX)/share/applications
cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop
.PHONY: all options clean dist install uninstall

8
st.desktop Normal file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=st
Comment=st is a simple terminal implementation for X
Exec=st
Icon=terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;