talimat 687 B

1234567891011121314151617181920212223
  1. # Description: Hafif bir GTK2 tabanlı systray
  2. # URL: http://home.gna.org/fvwm-crystal/
  3. # Packager: milisarge@gmail.com
  4. # Depends on: xorg-libxmu gtk2
  5. name=trayer
  6. version=1.0
  7. release=1
  8. source=(http://download.gna.org/fvwm-crystal/trayer/${version}/${name}-${version}.tar.gz
  9. trayer.diff manpage.diff )
  10. build() {
  11. cd $name-$version
  12. patch -p0 -i ../trayer.diff
  13. patch -p1 -i ../manpage.diff
  14. sed -i 's/$(LIBS) $(OBJ) $(SYSTRAYOBJ)/$(OBJ) $(SYSTRAYOBJ) $(LIBS) -lX11/' Makefile
  15. make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
  16. make PREFIX="$PKG/usr" install
  17. install -D -m644 trayer.1 "$PKG/usr/share/man/man1/trayer.1"
  18. install -D -m644 COPYING "$PKG/usr/share/licenses/$PKG/LICENSE"
  19. }