talimat 780 B

1234567891011121314151617181920212223242526272829303132
  1. # Tanım: X için basit terminal uygulaması
  2. # URL: http://st.suckless.org/
  3. # Paketçi: milisarge
  4. # Gerekler: xorg-libxext xorg-libxft
  5. # Grup: sistem
  6. isim=st
  7. surum=0.8.2
  8. devir=1
  9. kaynak=(http://dl.suckless.org/st/$isim-$surum.tar.gz)
  10. derle(){
  11. cd $isim-$surum
  12. export CC="gcc -std=c99"
  13. local file
  14. sed \
  15. -e '/char font/s/= .*/= "Fixed:pixelsize=17:style=Condensed";/' \
  16. -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \
  17. -e '/int defaultcs/s/= .*/= 1;/' \
  18. -i config.def.h
  19. sed \
  20. -e 's/CPPFLAGS =/CPPFLAGS +=/g' \
  21. -e 's/CFLAGS =/CFLAGS +=/g' \
  22. -e 's/LDFLAGS =/LDFLAGS +=/g' \
  23. -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/' \
  24. -i config.mk
  25. sed '/@tic/d' -i Makefile
  26. make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
  27. make PREFIX=/usr DESTDIR="${PKG}" install
  28. }