mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-04-05 10:51:09 +02:00
Merge 3f875d2242
into 36d225d71d
This commit is contained in:
commit
02ed2af8cd
5 changed files with 31 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@ patches/
|
||||||
*.o
|
*.o
|
||||||
st
|
st
|
||||||
*.orig
|
*.orig
|
||||||
|
Makefile.rej
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -44,6 +44,8 @@ install: st
|
||||||
cp -f st $(DESTDIR)$(PREFIX)/bin
|
cp -f st $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f st-copyout $(DESTDIR)$(PREFIX)/bin
|
cp -f st-copyout $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f st-urlhandler $(DESTDIR)$(PREFIX)/bin
|
cp -f st-urlhandler $(DESTDIR)$(PREFIX)/bin
|
||||||
|
mkdir -p $(DESTDIR)$(APPPREFIX)
|
||||||
|
cp -f st.desktop $(DESTDIR)$(APPPREFIX)
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-copyout
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-copyout
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-urlhandler
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-urlhandler
|
||||||
|
@ -55,6 +57,7 @@ install: st
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||||
|
rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st-copyout
|
rm -f $(DESTDIR)$(PREFIX)/bin/st-copyout
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st-urlhandler
|
rm -f $(DESTDIR)$(PREFIX)/bin/st-urlhandler
|
||||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
|
15
Makefile.rej
Normal file
15
Makefile.rej
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -49,12 +49,9 @@ 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)$(APPPREFIX)
|
||||||
|
- cp -f st.desktop $(DESTDIR)$(APPPREFIX)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||||
|
- rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
|
||||||
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
|
||||||
|
.PHONY: all options clean dist install uninstall
|
|
@ -6,7 +6,7 @@ VERSION = 0.8.5
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = $(PREFIX)/share/man
|
MANPREFIX = $(PREFIX)/share/man
|
||||||
|
APPPREFIX = $(PREFIX)/share/applications
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/X11R6/include
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
|
|
11
st.desktop
Normal file
11
st.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Exec=st
|
||||||
|
TryExec=st
|
||||||
|
Icon=utilities-terminal
|
||||||
|
Terminal=false
|
||||||
|
Categories=System;TerminalEmulator;
|
||||||
|
Name=st
|
||||||
|
GenericName=Terminal
|
||||||
|
Comment=st is a simple terminal implementation for X
|
||||||
|
StartupWMClass=st-256color
|
Loading…
Add table
Reference in a new issue