summaryrefslogtreecommitdiffstats
path: root/extra/openbox/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openbox/Pkgfile')
-rw-r--r--extra/openbox/Pkgfile17
1 files changed, 14 insertions, 3 deletions
diff --git a/extra/openbox/Pkgfile b/extra/openbox/Pkgfile
index dfcc4f6cc..87a4fdb04 100644
--- a/extra/openbox/Pkgfile
+++ b/extra/openbox/Pkgfile
@@ -5,9 +5,11 @@
# Depends on: startup-notification, pango, hal
name=openbox
-version=3.4.11
-release=1
-source=(http://icculus.org/openbox/releases/$name-$version.tar.gz)
+version=3.4.11.2
+release=2
+source=(http://icculus.org/openbox/releases/$name-$version.tar.gz \
+ openbox.xinitrc)
+
build()
{
cd $name-$version
@@ -17,5 +19,14 @@ cd $name-$version
--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
}