29 lines
708 B
Plaintext
29 lines
708 B
Plaintext
# Tanım: Zindan oyunu
|
||
# URL: http://crawl.develz.org/
|
||
# Paketçi: milisarge
|
||
# Gerekler: sdl-image sdl dejavu-ttf xorg-glu xorg-mesa glew dejavu-ttf
|
||
|
||
name=crawl-tiles
|
||
version=0.15.2
|
||
release=1
|
||
source=(http://sourceforge.net/projects/crawl-ref/files/Stone%20Soup/$version/stone_soup-${version}.tar.xz)
|
||
|
||
derle() {
|
||
|
||
cd stone_soup-$version/source
|
||
|
||
sed -i Makefile \
|
||
-e 's|bin_prefix := bin|bin_prefix := usr/bin|' \
|
||
-e 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' \
|
||
-e 's|MCHMOD := 2755|MCHMOD := 755|'
|
||
|
||
make DESTDIR=$PKG \
|
||
DATADIR=/usr/share/$name \
|
||
SAVEDIR='~/.crawl/' \
|
||
USE_UNICODE=y \
|
||
TILES=y \
|
||
install
|
||
mv $PKG/usr/bin/crawl $PKG/usr/bin/crawl-tiles
|
||
|
||
}
|