summaryrefslogtreecommitdiffstats
path: root/extra/openbox/Pkgfile
blob: d09bb3f589bb251a002dd8fbd378a37dc923e338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Description: Gestionnaire de fenêtres  Openbox
# URL: http://icculus.org/openbox/index.php/Main_Page
# Maintainer: NuTyX core team
# Packager: geantbrun at gmail dot com
# Depends on: startup-notification, pango, hal
# Run on:
 
name=openbox
version=3.4.11.2
release=2
source=(http://icculus.org/openbox/releases/$name-$version.tar.gz \
 openbox.xinitrc)

build()
{
cd $name-$version
./configure --prefix=/usr \
        --with-x \
        --enable-startup-notification \
        --sysconfdir=/etc
make
make DESTDIR=$PKG install
install -D -m644 ../openbox.xinitrc \
$PKG/etc/X11/dm/openbox.xinitrc
mkdir -p $PKG/etc/qingy/sessions
cat > $PKG/etc/qingy/sessions/openbox << "EOF"
source /etc/profile
userclientrc=/etc/X11/dm/openbox.xinitrc /usr/bin/startx.qingy
EOF

chmod 755 $PKG/etc/qingy/sessions/openbox

}