# 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, devel@crux-arm.nu # 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 <