--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/X11/
+drwxr-xr-x root/root usr/include/X11/extensions/
+-rw-r--r-- root/root usr/include/X11/extensions/Xrandr.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXrandr.a
+-rwxr-xr-x root/root usr/lib/libXrandr.la
+lrwxrwxrwx root/root usr/lib/libXrandr.so -> libXrandr.so.2.2.0
+lrwxrwxrwx root/root usr/lib/libXrandr.so.2 -> libXrandr.so.2.2.0
+-rwxr-xr-x root/root usr/lib/libXrandr.so.2.2.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xrandr.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/XRRConfigCurrentConfiguration.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRConfigCurrentRate.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRConfigRates.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRConfigRotations.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRConfigSizes.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRConfigTimes.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRFreeScreenConfigInfo.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRGetScreenInfo.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRQueryExtension.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRQueryVersion.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRRootToScreen.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRSelectInput.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRSetScreenConfig.3.gz
+-rw-r--r-- root/root usr/man/man3/XRRSetScreenConfigAndRate.3.gz
+-rw-r--r-- root/root usr/man/man3/Xrandr.3.gz
--- /dev/null
+# Description: X Resize and Rotate extension client library
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libx11 xorg-randrproto xorg-xextproto xorg-libxext xorg-libxrender xorg-renderproto
+
+name=xorg-libxrandr
+version=1.3.0
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$version.tar.bz2)
+
+build() {
+ cd libXrandr-$version
+
+ export RANDR_LIBS="-L$CLFS/usr/lib -lXext -lXrender -lX11"
+ export RANDR_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-malloc0returnsnull
+
+ make
+ make DESTDIR=$PKG install
+}