# Description: Dungeon Crawl Stone Soup is a singleplayer roguelike game # URL: http://crawl.develz.org/ # Maintainer: Maximilian Dietrich, dxm at openmailbox dot org # Packager: Maximilian Dietrich, dxm at openmailbox dot org # Depends on: ncurses name=crawl version=0.15.2 release=1 source=(http://sourceforge.net/projects/$name-ref/files/Stone%20Soup/$version/stone_soup-${version}.tar.xz) build () { cd "stone_soup-$version/source" sed -i 's|bin_prefix := bin|bin_prefix := usr/bin|' Makefile sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile sed -i 's|MCHMOD := 2755|MCHMOD := 755|' Makefile make DESTDIR=$PKG \ DATADIR=/usr/share/crawl \ SAVEDIR='~/.crawl/' \ USE_UNICODE=y \ install rm -rf $PKG/usr/share/crawl/dat/descript/{cs,da,de,el,es,fi,fr,hu,it,ko,lt,lv,pl,pt,ru,zh} }