summaryrefslogtreecommitdiffstats
path: root/extra/openbox/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-09 17:13:41 +0200
committersibel <lesibel at free dot fr>2010-07-09 17:13:41 +0200
commitac79daec00cf2c10672fdf24dc39b96b72246ec5 (patch)
treea91887cae12dfa57a8575f344952d440ccb59eef /extra/openbox/Pkgfile
parent46082ae11038eaa0d9d45afe92debf7d0fd52f8d (diff)
parent82a55924d35ce0dafd82af7496432a42daac650a (diff)
downloadnutyx-extra-ac79daec00cf2c10672fdf24dc39b96b72246ec5.tar.gz
nutyx-extra-ac79daec00cf2c10672fdf24dc39b96b72246ec5.tar.bz2
nutyx-extra-ac79daec00cf2c10672fdf24dc39b96b72246ec5.tar.xz
nutyx-extra-ac79daec00cf2c10672fdf24dc39b96b72246ec5.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
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
}