--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/showrgb
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/showrgb.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/X11/
+-rw-r--r-- root/root usr/share/X11/rgb.txt
--- /dev/null
+# Description: X Window System RGB database
+# 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-xproto
+
+name=xorg-rgb
+version=1.0.3
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/app/rgb-$version.tar.bz2)
+
+build() {
+ cd rgb-$version
+
+ sed 's| pkg_failed=yes| pkg_failed=no|' -i configure
+
+ export XORG_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
+ export XORG_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export RGB_LIBS="$XORG_LIBS"
+ export RGB_CFLAGS="$XORG_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+ make
+ make DESTDIR=$PKG install
+}