--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/omega
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/omega/
+drwxr-xr-x root/root usr/share/omega/lib/
+-rw-r--r-- root/root usr/share/omega/lib/abyss.dat
+-rw-r--r-- root/root usr/share/omega/lib/abyss.txt
+-rw-r--r-- root/root usr/share/omega/lib/arena.dat
+-rw-r--r-- root/root usr/share/omega/lib/circle.dat
+-rw-r--r-- root/root usr/share/omega/lib/city.dat
+-rw-r--r-- root/root usr/share/omega/lib/country.dat
+-rw-r--r-- root/root usr/share/omega/lib/court.dat
+-rw-r--r-- root/root usr/share/omega/lib/dlair.dat
+-rw-r--r-- root/root usr/share/omega/lib/help1.txt
+-rw-r--r-- root/root usr/share/omega/lib/help10.txt
+-rw-r--r-- root/root usr/share/omega/lib/help11.txt
+-rw-r--r-- root/root usr/share/omega/lib/help12.txt
+-rw-r--r-- root/root usr/share/omega/lib/help13.txt
+-rw-r--r-- root/root usr/share/omega/lib/help2.txt
+-rw-r--r-- root/root usr/share/omega/lib/help3.txt
+-rw-r--r-- root/root usr/share/omega/lib/help4.txt
+-rw-r--r-- root/root usr/share/omega/lib/help5.txt
+-rw-r--r-- root/root usr/share/omega/lib/help6.txt
+-rw-r--r-- root/root usr/share/omega/lib/help7.txt
+-rw-r--r-- root/root usr/share/omega/lib/help8.txt
+-rw-r--r-- root/root usr/share/omega/lib/help9.txt
+-rw-r--r-- root/root usr/share/omega/lib/home1.dat
+-rw-r--r-- root/root usr/share/omega/lib/home2.dat
+-rw-r--r-- root/root usr/share/omega/lib/home3.dat
+-rw-r--r-- root/root usr/share/omega/lib/license.txt
+-rw-r--r-- root/root usr/share/omega/lib/maze1.dat
+-rw-r--r-- root/root usr/share/omega/lib/maze2.dat
+-rw-r--r-- root/root usr/share/omega/lib/maze3.dat
+-rw-r--r-- root/root usr/share/omega/lib/maze4.dat
+-rw-r--r-- root/root usr/share/omega/lib/misle.dat
+-rw-r--r-- root/root usr/share/omega/lib/motd.txt
+-rw-rw-rw- root/root usr/share/omega/lib/omega.hi
+-rw-rw-rw- root/root usr/share/omega/lib/omega.log
+-rw-r--r-- root/root usr/share/omega/lib/scroll1.txt
+-rw-r--r-- root/root usr/share/omega/lib/scroll2.txt
+-rw-r--r-- root/root usr/share/omega/lib/scroll3.txt
+-rw-r--r-- root/root usr/share/omega/lib/scroll4.txt
+-rw-r--r-- root/root usr/share/omega/lib/speak.dat
+-rw-r--r-- root/root usr/share/omega/lib/temple.dat
+-rw-r--r-- root/root usr/share/omega/lib/village1.dat
+-rw-r--r-- root/root usr/share/omega/lib/village2.dat
+-rw-r--r-- root/root usr/share/omega/lib/village3.dat
+-rw-r--r-- root/root usr/share/omega/lib/village4.dat
+-rw-r--r-- root/root usr/share/omega/lib/village5.dat
+-rw-r--r-- root/root usr/share/omega/lib/village6.dat
+-rwx--x--x root/root usr/share/omega/omega
--- /dev/null
+# Description: The classic Roguelike game
+# URL: http://www.alcyone.com/max/projects/omega/
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: ncurses
+
+name=omega
+version=0.90.1
+release=1
+source=(http://www.alcyone.com/binaries/$name/$name-$version-src.tar.gz)
+
+build() {
+ cd $name
+
+ sed -i -e '34 d' -e '1731 d' -e '1732 d' -e '1733 d' scr.c
+ sed -i 's|/usr/local/games/omegalib/|/usr/share/omega/lib/|g' defs.h
+ make CC="$CC" CFLAGS="$CFLAGS -DBSD"
+
+ mkdir -p $PKG/usr/{bin,share/omega/lib/}
+ install -D -m0711 omega $PKG/usr/share/omega/omega
+ mv lib/{license.txt,help*.txt,motd.txt,abyss.txt,scroll[1234].txt,*.dat,omega.hi,omega.log} $PKG/usr/share/omega/lib/
+ chmod 0666 $PKG/usr/share/omega/lib/{omega.hi,omega.log}
+
+ cat > $PKG/usr/bin/omega <<EOF
+#!/bin/bash
+
+cd /usr/share/omega
+./omega \$@
+
+# End of file
+EOF
+ chmod +x $PKG/usr/bin/omega
+}