milis/talimatname/genel/ratpoison/talimat

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-04-14 13:34:36 +02:00
# Description: 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.
2016-02-24 01:27:23 +01:00
# URL: http://www.nongnu.org/ratpoison/
2017-04-14 13:34:36 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: 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
2017-04-14 13:34:36 +02:00
# düzeltme izinleri
2016-02-24 01:27:23 +01:00
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
}