summaryrefslogtreecommitdiff
path: root/crawl/Pkgfile
diff options
context:
space:
mode:
authorMaximilian Dietrich <dxm@openmailbox.org>2013-09-24 14:30:41 +0200
committerMaximilian Dietrich <dxm@openmailbox.org>2013-09-24 14:32:57 +0200
commite8bf7d7feb36ea4a8d128bde216d34fc3709f3a7 (patch)
treeaa83941a75531f42696005d63957e02dee18d6ba /crawl/Pkgfile
parent652f392de3054b73aab26e19823871086cb69764 (diff)
downloadcontrib-e8bf7d7feb36ea4a8d128bde216d34fc3709f3a7.tar.gz
contrib-e8bf7d7feb36ea4a8d128bde216d34fc3709f3a7.tar.xz
crawl: initial commit
Diffstat (limited to 'crawl/Pkgfile')
-rw-r--r--crawl/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/crawl/Pkgfile b/crawl/Pkgfile
new file mode 100644
index 000000000..f4a39a0ac
--- /dev/null
+++ b/crawl/Pkgfile
@@ -0,0 +1,24 @@
+# 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.12.3
+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}
+}

Generated by cgit