Package Details: cataclysm-dda-git 0.C.2016.03.12-1

Git Clone URL: (read-only)
Package Base: cataclysm-dda-git
Description: A post-apocalyptic roguelike.
Upstream URL:
Licenses: CCPL:by-sa
Conflicts: cataclysm-dda, cataclysm-dda-ncurses, cataclysm-dda-tiles
Submitter: Ferk
Maintainer: keenerd
Last Packager: keenerd
Votes: 35
Popularity: 0.477803
First Submitted: 2013-11-23 17:41
Last Updated: 2018-06-02 11:06

Latest Comments

copygirl commented on 2018-06-02 07:27

PKGBUILD contains 2 conflicts entries, one of which contains a comma, causing installation to fail for me.

pr3pony commented on 2017-06-10 08:12

current version cant build on gcc 7
try gcc 6 or clang instead

TheCatWizard commented on 2017-06-05 23:52

Currently getting:

astyle regressions found.
Formatted src/projectile.cpp
make: *** [Makefile:930: astyle-check] Error 1
==> ERROR: A failure occurred in build().
:: failed to build cataclysm-dda-git package(s)

When Building

RobsNoFrills commented on 2016-12-16 16:39

Had to change
in the pkgbuild

cyrilccros commented on 2016-05-23 07:27

Fails to build:

src/filesystem.cpp: In function ‘bool assure_dir_exist(const string&)’:
src/filesystem.cpp:61:45: error: ignoring attributes on template argument ‘int (*)(DIR*) {aka int (*)(__dirstream*)}’ [-Werror=ignored-attributes]
std::unique_ptr<DIR, decltype(&closedir)> dir {opendir(path.c_str()), closedir};

I tried passing the CXXFLAG -Wno-error=ignored-attributes, but this did not work:

src/cata_tiles.cpp: In member function ‘void cata_tiles::draw(int, int, const tripoint&, int, int)’:
src/cata_tiles.cpp:972:54: internal compiler error: in add_expr, at tree.c:7870
&cata_tiles::draw_critter_at } ) {

keenerd commented on 2016-03-12 20:54

Looks like they fixed the Lua51 weirdness.

FredBezies commented on 2016-03-01 10:41

I get it build.

version : cataclysm-dda-git 0.C.2016.03.01-1

FredBezies commented on 2016-03-01 09:55

@snacksicles : try replacing lua51 by lua. Building starts. Will report if it goes well... Or not :)

Snacksicles commented on 2016-02-29 23:07

cd src/lua && lua generate_bindings.lua
/bin/sh: lua: command not found
Makefile:583: recipe for target 'src/lua/catabindings.cpp' failed
make: *** [src/lua/catabindings.cpp] Error 127
==> ERROR: A failure occurred in build().


keenerd commented on 2015-11-20 18:03

Fixing this up to match the cataclysm-dda package in community.

FredBezies commented on 2015-11-17 14:18

It is too hard to maintain for now. Feel free to adopt it.

TingPing commented on 2015-10-25 19:04

Made a less broken version if anybody is interested -

It is sdl only but could easily be modified if one wanted ncurses.

Ram-Z commented on 2015-05-23 01:06

Just to let you know that this now has the 'USE_XDG_DIR' make option if you whish to follow the XDG specs.

@hickop: I see your issue is still not resolved: I maintain a working PKGBUILD on CCR:

@gileri: it is assumed that 'base-devel' is installed when using makepkg, so any pkg of that group should not be added to 'makedepends=()'

gileri commented on 2015-04-25 21:16

Missing gcc as a makedepend.

cyrilccros commented on 2015-04-15 10:41

I am going to use Ferk package, I think.
If you want this specific package build to work, you need to edit the build function.
cd "$_gitname/src" # Change to correct directory with C++ source files
sed ...... # Same as package
cd .. # Get back to the base directory which contains the makefile
make PREFIX=/usr

hickop commented on 2015-01-08 12:41

Cannot change language, stays english whatever I choose.
Also it installs data in "/usr/share/cataclysm-dda,locale/".

Reihar commented on 2014-09-14 09:29

Hi, I made an AUR package for the stable ncurses version of cataclysm-dda and I most based my package on this one. I made a few fixes that might interest you. I added the creation of the memorial folder and the user mod list with the correct rights so that they can be used by the game. I also moved the doc to /usr/doc/cataclysm-dda.

Here's my package :

nNa commented on 2014-08-25 12:14

I have updated the PKGBUILD to always build Release versions and to use the home folder for saves instead of /var directory. I have also fixed the binary symlinks, so there's an easier way to launch the version without tiles.

Can you update this package?

Ferk commented on 2014-04-24 00:20

Thank you, I added the SOUND flag and removed the RELEASE from the tiles build, just in case this happens again, I guess it's not fully stable yet.

AlexTes commented on 2014-04-23 22:35

You my friend, need to update. The RELEASE flag causes a fail on warn from the gcc compiler (as it should). But when building the TILES (sdl) version it picks up an unused variable (playlist), gives a warning, and fails. Like the Makefile details you can now add the SOUND flag. Adding the SOUND flag fixes it.

Ferk commented on 2014-04-13 10:20

I bumped the version number of the package to 0.A

Ferk commented on 2014-04-13 10:05

@Svenstaro What do you mean? What needs updating?
The save directory is still in use by the latest version of the game, I just tested it. I also uninstalled and reinstalled the game from yaourt without issues.

AlexTes commented on 2014-04-13 10:01

Yea it would be nice if you could change the title to 0.A to resolve the pacman thinks 0.9 > 0.A dispute its currently having. Because 0.A is built leading to pacman never thinking its up to date. Flagged it.

(Why not just add to ignorepkg Svenstaro? Its not like you actually rely on pacman to tell you when you need an update, it doesn't know anyway. and this package updates daily so really unless you custom build its easier to pull from anyway.)

Svenstaro commented on 2014-04-13 00:03

Dude update the package.

AlexTes commented on 2014-04-09 16:02

I still seem to get some issues with the other folders cataclysm tries to create (templates, memorial) but that might be my own permission mess. Great pkgbuild, thanks!

Svenstaro commented on 2014-03-23 20:40

This now supports saves in home directory. See recent commits.

Ferk commented on 2014-03-21 23:57

Updated to SDL2

Everlasting_Tuna commented on 2014-03-21 16:17

Needs SDL2 for tiles version, the regular version compiles fine without it. May also need SDL2_image and SDL2_ttf, but I only made the version without tiles so I'm not sure. Flagged as out of date.

Ferk commented on 2014-02-26 20:41

Dependencies updated

fr0z3d commented on 2014-02-26 14:56

Needs sdl_image and sdl_ttf to compile SDL build, which is the default in this PKGBUILD. Flagged as out of date.

neodarkness commented on 2014-01-07 21:57

Seems to requiere sdl_ttf or sdl_image (or both) to compile,

unhammer commented on 2014-01-07 08:06

==> Starting build()...
sed: can't read *.cpp: No such file or directory

Legion commented on 2013-12-11 11:33

I can´t play it :(
I always get the error "Could not make './save' directory"

Ferk commented on 2013-12-10 22:52

I didn't notice this package, I should have searched better... I duplicated it as "cataclysm-dda-git". Should I remove it?

Nevertheless, check out my PKGBUILD, I committed some changes to the cataclysm-launcher that were pulled into the official repo recently and now it won't be necessary to patch the source code to change the paths if we just use the launcher.

Also, you should add "RELEASE=1" to the make arguments.

Zom commented on 2013-12-05 20:53

Needs sdl as a dep, or at least as a makedep.

denspirit commented on 2013-11-26 16:02

This updated PKGBUILD tries to fix fresh build/run issues due to some changes in upstream:
1) source preparations such as changing default paths for save,data etc are now applied to new file "worldfactory.cpp" too.
2) prepare() now cd's to "src" subdir of all sources, due to moving all sources to it by upstream Git.

Crashlog commented on 2013-10-25 15:31

Is it possible to get this switched over to SDL for tileset support?

graydsl commented on 2013-07-01 13:44

The new official repo is:

Crashlog commented on 2013-03-22 12:08

I used this one:
because it's the one linked to on the website

Crashlog commented on 2013-03-22 12:07

I used this one:

keenerd commented on 2013-03-22 00:26

Which sources did you compile yourself? This package pulls from
Did you hve a different source repository in mind?

Crashlog commented on 2013-03-21 23:26

Am I doing something wrong then when I install it then? When I use this, I get a game with Whales' name written all over it, and a different start screen compared to the game that I compiled from source.

keenerd commented on 2013-03-21 23:19

Crashlog: I switched it to DDA two weeks before your comment.

Crashlog commented on 2013-03-18 19:03

Since Whales is no longer developing this version, and the fork called Dark Days Ahead is the one that is now active, are there any plans to make a PKGBUILD for DDA? I had a look at making one myself, but with git coming in to play there, it was more than I could handle, and I don't have time right now to learn how to use git, let alone use it in a PKGBUILD. When I do get time I'll most likely learn to do it right, if no one has made one by then.

Crashlog commented on 2013-03-18 17:15

If this is the version by Whales, then it's supposedly no longer maintained. There's a fork called Dark Days Ahead ( that is being actively developed. Should that be it's own separate thing in AUR, or will this change to concern that version instead?

Crashlog commented on 2013-03-18 16:53

If this is the version by Whales, then it's supposedly no longer maintained. There's a fork called Dark Days Ahead that it being actively developed. Should that be it's own separate thing in AUR, or will this change to concern that version instead?

antihero commented on 2013-03-03 10:22

==> Starting make...
mkdir obj
g++ -O3 -c action.cpp -o obj/action.o
g++ -O3 -c trapfunc.cpp -o obj/trapfunc.o
g++ -O3 -c missiondef.cpp -o obj/missiondef.o
g++ -O3 -c iuse.cpp -o obj/iuse.o
iuse.cpp: In member function 'void iuse::vitamins(game*, player*, item*, bool)':
iuse.cpp:314:77: error: 'add_msg' was not declared in this scope
make: *** [obj/iuse.o] Error 1
==> ERROR: A failure occurred in build().

test0 commented on 2012-05-21 13:38

I think the line

sed -i 's|"save"|"/var/games/cataclysm/save"|g' *.cpp

in the PKGBUILD is causing problems in action.cpp. It replaces the "save" and makes the program unable to set the key for saving in the game.

i haven't tested it, but glancing through the code showed only one place where the directory is named, so maybe try

sed -i 's|"save"|"/var/games/cataclysm/save"|g' game.cpp

keenerd commented on 2012-05-04 18:06

Tried a bunch of stuff to make it properly autogenerate without leaving permissions too open. Ended up just pre-generating the file and bundling it instead.

test0 commented on 2012-05-02 07:05

keymap.txt is now generated if it's missing, so it was removed from the git repository. Cataclysm attempts to generate it in /usr/share/cataclysm/data, but it doesn't have the right permissions. i dont really know the permission standards for /usr/share, so maybe install a writable data dir in /var/etc would work if making the /usr/etc more permissive is not good practice?

Anonymous comment on 2011-08-27 22:14

There is a problem on the 3rd line of package()
install -d755 "$pkgdir/usr/share/cataclsym/data"

I suggest correcting it like this :
install -dm755 data "$pkgdir/usr/share/cataclsym/data"

Anonymous comment on 2011-08-27 22:09

There is a problem on the 3rd line of package()
install -d755 "$pkgdir/usr/share/cataclsym/data"