milis/talimatname/genel/r/ratpoison/talimat

40 lines
1.2 KiB
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.

# Tanım: Ratpoison, kullanıcının fareyle uygulamayı yönetmesine izin veren C ile yazılmış bir döşeme penceresi yöneticisidir. Kullanıcı arabirimi, Screen'den esinlenmiştir.
# URL: http://www.nongnu.org/ratpoison/
# Paketçi: milisarge
# Gerekler: texinfo xorg-libxft xorg-libxinerama xorg-libxtst
name=ratpoison
version=1.4.7
release=2
source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.xz
$name.desktop
$name.README)
build(){
cd $name-$version
sed -i 's|PRINT_ERROR (("XGetWMName|PRINT_DEBUG (("XGetWMName|' src/manage.c
./configure --prefix=/usr
make CFLAGS="$CFLAGS -DHAVE_GETLINE"
make DESTDIR=$PKG install
# düzeltme izinleri
chmod +x $PKG/usr/share/ratpoison/{allwindows.sh,clickframe.pl,rpshowall.sh,rpws,split.sh}
cd contrib
./genrpbindings
install -dm755 $PKG/usr/share/ratpoison/bindings
install -m644 \
{Ratpoison.pm,ratpoison-cmd.el,ratpoison.rb,ratpoison.lisp,ratpoison.py} \
$PKG/usr/share/ratpoison/bindings/
install -Dm644 $SRC/$name.desktop \
$PKG/usr/share/xsessions/$name.desktop
mv $PKG/usr/share/doc/$name $PKG/usr/share/doc/$name-$version
install -m644 $SRC/$name.README \
$PKG/usr/share/doc/$name-$version/$name.README
}