30 lines
752 B
Plaintext
30 lines
752 B
Plaintext
# Description: X için basit terminal uygulaması
|
||
# URL: http://st.suckless.org/
|
||
# Packager: milisarge
|
||
# Depends on: xorg-libxext xorg-libxft
|
||
|
||
name=st
|
||
version=0.7
|
||
release=1
|
||
|
||
source=(http://dl.suckless.org/st/$name-$version.tar.gz)
|
||
|
||
build(){
|
||
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
|
||
}
|