milis/talimatname/genel/trayer/talimat

23 lines
687 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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