milis/talimatname/genel/trayer/talimat

23 lines
687 B
Plaintext
Raw Normal View History

2017-04-19 14:17:59 +02:00
# Description: Hafif bir GTK2 tabanlı systray
2016-04-21 01:29:00 +02:00
# 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"
}