summaryrefslogtreecommitdiffstats
path: root/extra/openbox/Pkgfile
blob: ecf7f1fe417213b2690db675c7b95041772886d2 (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
# 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
 
name=openbox
version=3.4.11.2
release=1
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
echo "userclientrc=/etc/X11/dm/openbox.xinitrc /usr/bin/startx.qingy" > \
$PKG/etc/qingy/sessions/openbox
chmod 755 $PKG/etc/qingy/sessions/openbox

}