Adding desktop patch ref. #21

This commit is contained in:
bakkeby 2021-05-08 14:24:42 +02:00
parent 79278e3d32
commit 2876951262
2 changed files with 11 additions and 0 deletions

View File

@ -60,10 +60,13 @@ install: st
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
tic -sx st.info
mkdir -p $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch
cp -n st.desktop $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch
@echo Please see the README file regarding the terminfo entry of st.
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop # desktop-entry patch
.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=utilities-terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;