1234567891011121314151617181920212223242526272829303132 |
- # Tanım: X için basit terminal uygulaması
- # URL: http://st.suckless.org/
- # Paketçi: milisarge
- # Gerekler: xorg-libxext xorg-libxft
- # Grup: sistem
- isim=st
- surum=0.8.2
- devir=1
- kaynak=(http://dl.suckless.org/st/$isim-$surum.tar.gz)
- derle(){
- cd $isim-$surum
- export CC="gcc -std=c99"
- 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
- }
|