Package Details: crawl-tiles 0.22.1-1

Git Clone URL: (read-only)
Package Base: crawl-tiles
Description: Dungeon Crawl Stone Soup with graphical tiles and sound support
Upstream URL:
Licenses: GPL
Conflicts: crawl, stone-soup
Provides: crawl, stone-soup
Submitter: Forty-Bot
Maintainer: Forty-Bot
Last Packager: Forty-Bot
Votes: 3
Popularity: 0.037636
First Submitted: 2018-01-08 07:56
Last Updated: 2018-11-11 00:01

Latest Comments

Forty-Bot commented on 2018-11-10 23:41

Thanks, that appears to have fixed it. I've moved to using arrays to prevent this escaping problem from happening again.

derekh commented on 2018-11-09 14:27

Having similar issue as the last commenters. Got it to work by removing SAVEDIR from the environment variable and adding it manually to both make commands. Maybe there's a better way to escape it in the environment variable but after two failed attempts I don't want to sit through another build to try again.

  1. In build()

    make SAVEDIR='~/.crawl' $CRAWLOPT
  2. In package()

    make install SAVEDIR='~/.crawl' $CRAWLOPT

phobos commented on 2018-09-07 21:09

hi, @pikimeister i'm having the same issue as well.



Forty-Bot commented on 2018-08-28 12:48

Huh, it seems like crawl now creates its savedir relative to its prefix...

I thought it was just creating the savedir in the wrong place during packaging.

pikimeister commented on 2018-08-28 06:08


After the latest update (0.22.0-2) I'm getting the following error when starting the game:

Save directory "/usr/~/.crawl/saves/" does not exist and I can't create it. Cannot create save directory '/usr/~/.crawl/saves/'

Anyone else has this issue?

Regards, P.

Forty-Bot commented on 2018-08-27 12:35

Thanks for the patch

lambda-11235 commented on 2018-08-27 07:54

CRAWLOPT sets DESTDIR to "", because $pkddir isn't set. The following is a patch I wrote.

From 09877f094dcfcdacd085fc16706adab8e39f0dc8 Mon Sep 17 00:00:00 2001
From: Taran Lynn <>
Date: Mon, 27 Aug 2018 00:52:08 -0700
Subject: [PATCH] Updated CRAWLOPT with correct $pkgdir.

 PKGBUILD | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 73d724d..2d18eae 100644
@@ -26,26 +26,29 @@ options=()

+getCROWLOPT() {
+   prefix=/usr
+   bin_prefix=bin
+   DESTDIR=$pkgdir
+   SAVEDIR='~/.crawl'
+   LUA_PACKAGE=lua51
+   TILES=y
+   SOUND=y"

 prepare() {
    gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name "Crawl tiles" --categories "Application;Game" --exec "crawl"

    cd "$_srcname-$pkgver/crawl-ref/source"
    echo $pkgver > util/release_ver

 build() {
    cd "$_srcname-$pkgver/crawl-ref/source"

    make $CRAWLOPT

@@ -61,6 +64,7 @@ package() {

    cd "$_srcname-$pkgver/crawl-ref/source"

    make install $CRAWLOPT
    install -Dm644 "dat/tiles/stone_soup_icon-32x32.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"