summaryrefslogtreecommitdiffstats
path: root/extra/openbox/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openbox/Pkgfile')
-rw-r--r--extra/openbox/Pkgfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/extra/openbox/Pkgfile b/extra/openbox/Pkgfile
index dfcc4f6cc..ecf7f1fe4 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
+version=3.4.11.2
release=1
-source=(http://icculus.org/openbox/releases/$name-$version.tar.gz)
+source=(http://icculus.org/openbox/releases/$name-$version.tar.gz \
+ openbox.xinitrc)
+
build()
{
cd $name-$version
@@ -17,5 +19,11 @@ 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
+echo "userclientrc=/etc/X11/dm/openbox.xinitrc /usr/bin/startx.qingy" > \
+$PKG/etc/qingy/sessions/openbox
+chmod 755 $PKG/etc/qingy/sessions/openbox
}