summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xorg-xinit
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/xorg-xinit')
-rw-r--r--abs/core-testing/xorg-xinit/PKGBUILD39
-rw-r--r--abs/core-testing/xorg-xinit/xinitrc18
-rw-r--r--abs/core-testing/xorg-xinit/xserverrc1
-rw-r--r--abs/core-testing/xorg-xinit/xsession10
4 files changed, 68 insertions, 0 deletions
diff --git a/abs/core-testing/xorg-xinit/PKGBUILD b/abs/core-testing/xorg-xinit/PKGBUILD
new file mode 100644
index 0000000..ffad09c
--- /dev/null
+++ b/abs/core-testing/xorg-xinit/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 3232 2008-06-21 15:51:37Z jgc $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+pkgname=xorg-xinit
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="X.Org initialisation program "
+arch=(i686 x86_64)
+license=('GPL')
+url="http://xorg.freedesktop.org/"
+depends=('libx11' 'xorg-xauth')
+makedepends=('pkgconfig')
+backup=('etc/skel/.xinitrc'
+ 'etc/skel/.xsession'
+ 'etc/X11/xinit/xserverrc'
+ 'etc/X11/xinit/xinitrc')
+groups=('xorg')
+source=(${url}/releases/individual/app/xinit-${pkgver}.tar.bz2
+ xinitrc
+ xsession
+ xserverrc)
+options=(!emptydirs)
+md5sums=('9144097186c3d2454beffe8ac3b53c6e'
+ 'f165d9a52284ef8cd4c8a129463a2b49'
+ '7873d97db30d6c279ed37e3559e7c59d'
+ 'bb550d3b9a2d2b6cbe6e2667a3a7cd03')
+
+build() {
+ cd ${startdir}/src/xinit-${pkgver}
+ ./configure --prefix=/usr
+ make XINITDIR=/etc/X11/xinit || return 1
+ make XINITDIR=/etc/X11/xinit DESTDIR=${startdir}/pkg install || return 1
+
+ install -m755 -d ${pkgdir}/etc/skel
+ install -m755 -d ${pkgdir}/etc/X11/xinit
+ install -m755 ${srcdir}/xinitrc ${pkgdir}/etc/skel/.xinitrc || return 1
+ install -m755 ${srcdir}/xsession ${pkgdir}/etc/skel/.xsession || return 1
+ install -m755 ${srcdir}/xserverrc ${pkgdir}/etc/X11/xinit/xserverrc
+}
diff --git a/abs/core-testing/xorg-xinit/xinitrc b/abs/core-testing/xorg-xinit/xinitrc
new file mode 100644
index 0000000..7af398d
--- /dev/null
+++ b/abs/core-testing/xorg-xinit/xinitrc
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+#
+
+# exec gnome-session
+# exec startkde
+# exec startxfce4
+# exec icewm
+# exec openbox
+# exec blackbox
+# exec fluxbox
+# exec ratpoison
+# exec dwm
+# ... or any other WM of your choosing ...
diff --git a/abs/core-testing/xorg-xinit/xserverrc b/abs/core-testing/xorg-xinit/xserverrc
new file mode 100644
index 0000000..6a636c1
--- /dev/null
+++ b/abs/core-testing/xorg-xinit/xserverrc
@@ -0,0 +1 @@
+exec /usr/bin/X -nolisten tcp
diff --git a/abs/core-testing/xorg-xinit/xsession b/abs/core-testing/xorg-xinit/xsession
new file mode 100644
index 0000000..a16dc0b
--- /dev/null
+++ b/abs/core-testing/xorg-xinit/xsession
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+#
+# ~/.xsession
+#
+# Executed by xdm/gdm/kdm at login
+#
+
+/bin/bash --login -i ~/.xinitrc
+