# Description: Dungeon Crawl Stone Soup # URL: http://crawl.develz.org/ # Depends on: ncurses # Maintainer: #teatime (irc.kyber.io), teatime at kyber dot io name=crawl version=0.20.0 release=1 source=(https://github.com/$name/$name/archive/$version.tar.gz) build () { cd "$name-$version/crawl-ref/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 echo "$version" > util/release_ver 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} }