milis/talimatname/genel/s/st/talimat

30 lines
745 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: X için basit terminal uygulaması
2016-02-24 01:27:23 +01:00
# URL: http://st.suckless.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: xorg-libxext xorg-libxft
2016-02-24 01:27:23 +01:00
name=st
2017-04-17 01:48:45 +02:00
version=0.7
2016-02-24 01:27:23 +01:00
release=1
source=(http://dl.suckless.org/st/$name-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle(){
2017-04-17 02:46:21 +02:00
cd $name-$version
local file
sed \
-e '/char font/s/= .*/= "Fixed:pixelsize=17:style=Condensed";/' \
-e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \
-e '/int defaultcs/s/= .*/= 1;/' \
-i config.def.h
sed \
-e 's/CPPFLAGS =/CPPFLAGS +=/g' \
-e 's/CFLAGS =/CFLAGS +=/g' \
-e 's/LDFLAGS =/LDFLAGS +=/g' \
-e 's/_BSD_SOURCE/_DEFAULT_SOURCE/' \
-i config.mk
sed '/@tic/d' -i Makefile
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
make PREFIX=/usr DESTDIR="${PKG}" install
2016-02-24 01:27:23 +01:00
}