summaryrefslogtreecommitdiffstats
path: root/openbox/Pkgfile
blob: 1cc10c7d39c49f328adcd0c0f656d5216ac31239 (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
# Run on: startup-notification,pango
 
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

}