Package Details: cataclysm-dda-git 0.F.2022.05.24-1

Git Clone URL: https://aur.archlinux.org/cataclysm-dda-git.git (read-only, click to copy)
Package Base: cataclysm-dda-git
Description: A post-apocalyptic roguelike.
Upstream URL: https://cataclysmdda.org/
Licenses: CCPL:by-sa
Conflicts: cataclysm-dda, cataclysm-dda-ncurses, cataclysm-dda-tiles
Submitter: Ferk
Maintainer: gileri
Last Packager: gileri
Votes: 39
Popularity: 0.000722
First Submitted: 2013-11-23 17:41 (UTC)
Last Updated: 2022-05-24 22:02 (UTC)

Latest Comments

gileri commented on 2022-06-17 06:07 (UTC)

Maybe wait until CI gcc version gets bumped to 12 or until this lint is included?

Agreed, good idea !

fogapod commented on 2022-06-14 06:50 (UTC)

Will update the package if this is resolved upstream.

Package might break again if they don't include this lint in testing suite. Maybe wait until CI gcc version gets bumped to 12 or until this lint is included?

gileri commented on 2022-06-03 20:10 (UTC)

Thank you @NetSysFire, I've subscribed to the issue. Will update the package if this is resolved upstream.

NetSysFire commented on 2022-06-03 19:42 (UTC)

fogapod and gileri: I am sort-of involved with cdda, here is an upstream issue I created for you: https://github.com/CleverRaven/Cataclysm-DDA/issues/58123 Patching it here works for now but this is hacky and should be fixed at the source, so please watch that issue so you know when it is resolved and the patch can be removed.

fogapod commented on 2022-05-28 08:39 (UTC)

is there a reason LTO=1 is not used in build step? does it take significantly longer this way?

gileri commented on 2022-05-24 22:01 (UTC)

Implemented your patch @fogapod, thank you !

fogapod commented on 2022-05-22 14:38 (UTC) (edited on 2022-05-22 17:50 (UTC) by fogapod)

hello, i tried installing this package today, i'm getting errors after a minute of compilation:

In file included from src/type_id.h:7,
                 from src/damage.h:11,
                 from src/veh_type.h:20,
                 from src/veh_type.cpp:1:
In member function ‘bool string_id<T>::operator<(const This&) const [with T = ammunition_type]’,
    inlined from ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = string_id<ammunition_type>]’ at /usr/include/c++/12.1.0/bits/stl_function.h:408:20,
    inlined from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) const [with _Key = string_id<ammunition_type>; _Val = string_id<ammunition_type>; _KeyOfValue = std::_Identity<string_id<ammunition_type> >; _Compare = std::less<string_id<ammunition_type> >; _Alloc = std::allocator<string_id<ammunition_type> >]’ at /usr/include/c++/12.1.0/bits/stl_tree.h:2546:33,
    inlined from ‘std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = string_id<ammunition_type>; _Compare = std::less<string_id<ammunition_type> >; _Alloc = std::allocator<string_id<ammunition_type> >]’ at /usr/include/c++/12.1.0/bits/stl_set.h:749:25,
    inlined from ‘static void vehicle_prototype::finalize()’ at src/veh_type.cpp:1268:61:
src/string_id.h:229:24: error: array subscript 0 is outside array bounds of ‘ammotype [0]’ [-Werror=array-bounds]
  229 |             return _id._id < rhs._id._id;
      |                    ~~~~^~~
In member function ‘bool string_id<T>::operator<(const This&) const [with T = ammunition_type]’,
    inlined from ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = string_id<ammunition_type>]’ at /usr/include/c++/12.1.0/bits/stl_function.h:408:20,
    inlined from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Const_Link_type, _Const_Base_ptr, const _Key&) const [with _Key = string_id<ammunition_type>; _Val = string_id<ammunition_type>; _KeyOfValue = std::_Identity<string_id<ammunition_type> >; _Compare = std::less<string_id<ammunition_type> >; _Alloc = std::allocator<string_id<ammunition_type> >]’ at /usr/include/c++/12.1.0/bits/stl_tree.h:1967:29,
    inlined from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) const [with _Key = string_id<ammunition_type>; _Val = string_id<ammunition_type>; _KeyOfValue = std::_Identity<string_id<ammunition_type> >; _Compare = std::less<string_id<ammunition_type> >; _Alloc = std::allocator<string_id<ammunition_type> >]’ at /usr/include/c++/12.1.0/bits/stl_tree.h:2544:42,
    inlined from ‘std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = string_id<ammunition_type>; _Compare = std::less<string_id<ammunition_type> >; _Alloc = std::allocator<string_id<ammunition_type> >]’ at /usr/include/c++/12.1.0/bits/stl_set.h:749:25,
    inlined from ‘static void vehicle_prototype::finalize()’ at src/veh_type.cpp:1268:61:
src/string_id.h:229:38: error: array subscript 0 is outside array bounds of ‘ammotype [0]’ [-Werror=array-bounds]
  229 |             return _id._id < rhs._id._id;
      |                              ~~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make: *** [Makefile:950: obj/veh_type.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: cataclysm-dda-git

i could not find anything about this error on game's github

EDIT: i fixed this by patching Makefile:

diff --git a/Makefile b/Makefile
index 56418b4be7a6..39a333e7af9a 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,8 @@ WARNINGS = \
   -Wsuggest-override \
   -Wunused-macros \
   -Wzero-as-null-pointer-constant \
-  -Wno-unknown-warning-option
+  -Wno-unknown-warning-option \
+  -Wno-array-bounds
 # Uncomment below to disable warnings
 #WARNINGS = -w
 DEBUGSYMS = -g

gileri commented on 2022-03-21 08:39 (UTC)

Happy that I could help !

matthemsteger commented on 2022-03-20 16:34 (UTC)

Oh I didnt know about that option, even better! Thanks for pointing that out gileri

gileri commented on 2022-03-20 16:13 (UTC)

Thanks for the suggestion matthemsteger. Why not put it directly in /etc/makepkg.conf ?

matthemsteger commented on 2022-03-20 16:11 (UTC)

One suggestion for this package. I typically edit the PKGBUILD locally before building to add "-jnproc" to the make for builds so that it uses more than a single core (otherwise the build takes a very long time), in this case nproc returns the number of cores your system has.

Im not sure if nproc is appropriate for everyone .. it taxes your system quite a lot, but a suggestion would be to use some variation of "-j" to use more than a single core.

For those wanting to do the same ..


  make -j`nproc` PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 LANGUAGE="all" RUNTESTS=0 LINTJSON=0 ASTYLE=0 PCH=0
  make -j`nproc` PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 LANGUAGE="all" RUNTESTS=0 LINTJSON=0 ASTYLE=0 PCH=0 TILES=1 SOUND=1

ThePirate42 commented on 2022-03-01 19:51 (UTC)

What is the easiest way to use both stable and experimental?

gileri commented on 2022-02-22 13:38 (UTC)

Thank you for previously maintaining it @MarsSeed ! @Faalgorn I'll take a look soon.

MarsSeed commented on 2022-02-22 10:16 (UTC)

I have triggered this package to become orphaned, so a new volunteer can adopt it and update it.

Faalagorn commented on 2021-08-07 11:36 (UTC)

Mind bumping the version to 0.F? Would make it green on https://repology.org/project/cataclysm-dda/versions

kleintux commented on 2021-07-04 10:27 (UTC)

Please add aarch64 as arch. It works perfect.

gileri commented on 2020-08-02 15:02 (UTC)

Package doesn't build anymore because of this issue.

I see multiple solutions :

  1. Split the package in two (tiles and console)
  2. Backuping the built binary and running make clean between tiles and non-tiles
  3. Editing the Makefile to not remove built binaries and adding make clean between tiles and non-tiles

gileri commented on 2020-06-17 22:24 (UTC)

Thank you keenerd for the PKGBUILD update !

There is a typo in make flags, 'UNTEST' should be 'RUNTEST' :

https://github.com/CleverRaven/Cataclysm-DDA/blob/master/Makefile#L170-L173

matthemsteger commented on 2020-05-04 01:37 (UTC)

Flagged as out of date because it seems like the icon has moved from 'data/osx/AppIcon.iconset/icon_128x128.png' to 'build-data/osx/AppIcon.iconset/icon_128x128.png'

matthemsteger commented on 2020-04-27 05:39 (UTC)

I noticed that it spends time building tests and other dev things. Maybe RUNTESTS=0 will help, LINTJSON=0 and ASTYLE=0?

Cape commented on 2019-11-01 21:42 (UTC)

I'm having a problem with this build because it saves al the configs directly in my home dir instead of grouping under a '.cataclysm' directory. Was built with USE_HOME_DIR=1

aloxaf commented on 2019-09-08 04:30 (UTC)

Some suggestions:

  1. Lua modding has been removed in https://github.com/CleverRaven/Cataclysm-DDA/pull/28572. I think as a git package it's time to update PKGBUILD to remove lua dependency.

  2. There is a typo in L47(USE_XGD_DIR)

pizzaman commented on 2019-08-01 01:29 (UTC)

==> Starting build()...
/bin/sh: astyle: command not found
#define VERSION "0.D"
...

pescepalla commented on 2019-03-28 17:08 (UTC) (edited on 2019-03-28 17:09 (UTC) by pescepalla)

O.D is out. Please update or orphan.

ohotdog commented on 2019-02-23 15:06 (UTC) (edited on 2019-02-23 15:08 (UTC) by ohotdog)

To anyone having locale, localization, language, etc. issues,

I saw other users were having issues getting cataclysm to display the language(s) they selected or those defined by their system's locale. I was also having issues with this when trying to use the cataclsym-dda package from the official repository, which brought me here. I was surprised that I had the same issues still. So I looked around the source files and saw that a ".mo" file was never being compiled for my target language (or any language for that matter). After a lot of frustration I found a (non-ideal) workaround.

After compiling, you'll find a script in cataclysm-dda-git/src/Cataclysm-DDA-master/lang/ called compile_mo.sh. Run that for a sec, terminate it, and a new directory cataclysm-dda-git/src/Cataclysm-DDA-master/lang/mo will have been created.

I think by default compile_mo.sh generates mo files for all of the languages cataclysm currently supports, so either find the language(s) you need or take everything in that folder and make symlinks, copy+paste, whatever, them to /usr/share/locale and you should be good to go.

I'm sure there's a way you could get it into the pkg directory and have pacman handle it, but it's late and I just want to play games in kneehongo.

eturner commented on 2018-10-05 05:55 (UTC)

I was told by the lead developer on github that they do actually intend to maintain compatibility with old save files between updates, and that you can file bug reports regarding issues with updating. In keeping the old saves, manual intervention has been required just once in my experience. When one of the included mods was integrated into the core game it gave me a passable error message upon load until it was removed from mods.json. But no real issues so far.

Faalagorn commented on 2018-08-05 20:03 (UTC)

I currently use a modified PKGBUILD of this, as I don't mind downloading 1.5GB and want to see the actual git revision version string in game menu and package name (thanks for leaving the hints in PKGBUILD!), but I also use a few other tweaks there, so let me mention them in case you want to implement them.

This package currently don't build the man files included in the sources. They were added past 0.C release, that's why the PKGBUILD in repository doesn't have them. They are located in doc/cataclysm-tiles.6 and doc/cataclysm.6.

You also currently use USE_HOME_DIR=1 instead USE_XDG_DIR=1 as the package in repo, but keep in mind that it's planning to switch to it by the 0.D release judging by this comment: # USE_XDG_DIR for next release so it's up to you if you want to change to it now or later. this package already uses it.

You also list some of the potentially useful make flags below #LUA_BINARY="/usr/bin/lua5.1" (remnant from the past since the game doesn't require old lua explicitly for a while, that's also there in the repo's PKGBUILD, but could be handy if one want to use usr/bin/luajit for potential speed improvement). USE_XDG_DIR=1 is what I already explained, LOCALIZE=0 is also required for Unicode support, DYNAMIC_LINKING=1 I indeed don't know what does in practice, but there's also CLANG=1 to use Clang instead of GCC – this package uses it, LTO=1 to use link-time optimization and possibly others. Finally there's LANGUAGES=all to build all languages – this package uses it, but it obviously results in even bigger size of package. All the flags are explained in COMPILING.md and Makefile. The game can also be build with CMake, but personally I just build with default flags, so can't vouch for their usefulness/performance impact, except CLANG=1 seems to result in bigger size and LTO=1 on top of it seems to break stuff for me. It's also nice to keep it in line with whatever package in repo has it.

Finally, it would be nice to update the url (again) as https://cataclysmdda.org/ is used instead, but the same plagues PKGBUILD in repo, so I may suggest to update it there first.

copygirl commented on 2018-06-02 07:27 (UTC)

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 (UTC)

https://github.com/CleverRaven/Cataclysm-DDA/issues/21165 current version cant build on gcc 7 try gcc 6 or clang instead

TheCatWizard commented on 2017-06-05 23:52 (UTC)

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

RobsNoFrills commented on 2016-12-16 16:39 (UTC)

Had to change source=('https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip') to source=('https://codeload.github.com/CleverRaven/Cataclysm-DDA/zip/master.zip') in the pkgbuild

cyrilccros commented on 2016-05-23 07:27 (UTC)

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 (UTC)

Looks like they fixed the Lua51 weirdness.

FredBezies commented on 2016-03-01 10:41 (UTC)

I get it build. version : cataclysm-dda-git 0.C.2016.03.01-1

FredBezies commented on 2016-03-01 09:55 (UTC)

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

Snacksicles commented on 2016-02-29 23:07 (UTC)

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(). Aborting... Bugger.

keenerd commented on 2015-11-20 18:03 (UTC)

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

FredBezies commented on 2015-11-17 14:18 (UTC)

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

TingPing commented on 2015-10-25 19:04 (UTC)

Made a less broken version if anybody is interested - https://aur.archlinux.org/packages/cataclysm-dda-sdl-git/ It is sdl only but could easily be modified if one wanted ncurses.

Ram-Z commented on 2015-05-23 01:06 (UTC)

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: http://chakraos.org/ccr/packages.php?ID=7201 @gileri: it is assumed that 'base-devel' is installed when using makepkg, so any pkg of that group should not be added to 'makedepends=()' https://wiki.archlinux.org/index.php/Pkgbuild#makedepends

gileri commented on 2015-04-25 21:16 (UTC)

Missing gcc as a makedepend.

cyrilccros commented on 2015-04-15 10:41 (UTC)

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. build(){ 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 (UTC)

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 (UTC)

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 : https://aur.archlinux.org/packages/cataclysm-dda-ncurses/ And my PKGBUILD: https://aur.archlinux.org/packages/ca/cataclysm-dda-ncurses/PKGBUILD

KarboniteKream commented on 2014-08-25 12:14 (UTC)

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? http://kream.io/files/cataclysm-dda/PKGBUILD

Ferk commented on 2014-04-24 00:20 (UTC)

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 (UTC)

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 (UTC)

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

AlexTes commented on 2014-04-13 10:01 (UTC)

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 http://ci.narc.ro/view/Cataclysm-DDA/job/Cataclysm-Matrix/ anyway.)

Svenstaro commented on 2014-04-13 00:03 (UTC)

Dude update the package.

AlexTes commented on 2014-04-09 16:02 (UTC)

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 (UTC)

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

Ferk commented on 2014-03-21 23:57 (UTC)

Updated to SDL2

Everlasting_Tuna commented on 2014-03-21 16:17 (UTC)

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 (UTC)

Dependencies updated

fr0z3d commented on 2014-02-26 14:56 (UTC)

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 (UTC)

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

unhammer commented on 2014-01-07 08:06 (UTC)

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

Ferk commented on 2013-12-10 22:52 (UTC)

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. https://aur.archlinux.org/packages/ca/cataclysm-dda-git/PKGBUILD

Zom commented on 2013-12-05 20:53 (UTC)

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

denspirit commented on 2013-11-26 16:02 (UTC)

This updated PKGBUILD tries to fix fresh build/run issues due to some changes in upstream: http://pastebin.com/YyZyX39r 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.

graydsl commented on 2013-07-01 13:44 (UTC)

The new official repo is: https://github.com/CleverRaven/Cataclysm-DDA

Crashlog commented on 2013-03-22 12:08 (UTC)

I used this one: https://github.com/TheDarklingWolf/Cataclysm-DDA/ because it's the one linked to on the website http://www.cataclysmdda.com/

keenerd commented on 2013-03-22 00:26 (UTC)

Which sources did you compile yourself? This package pulls from https://github.com/TheDarklingWolf/Myriad-Mod Did you hve a different source repository in mind?

Crashlog commented on 2013-03-21 23:26 (UTC)

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 (UTC)

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

Crashlog commented on 2013-03-18 19:03 (UTC)

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.

antihero commented on 2013-03-03 10:22 (UTC)

==> 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(). Aborting...

test0 commented on 2012-05-21 13:38 (UTC)

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 (UTC)

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 (UTC)

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?

commented on 2011-08-27 22:14 (UTC)

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"

commented on 2011-08-27 22:09 (UTC)

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