# PKGBUILD missing... please help

**URL:** <https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098>\
**Category:** The Garage\
**Created:** [December 26, 2018, 2:11pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098 "2018-12-26T14:11:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carzo](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Carzo](https://discourse.cataclysmdda.org/u/Carzo)\
**Post date:** [December 26, 2018, 2:11pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/1 "2018-12-26T14:11:09Z")

</div>

Hi dears

I am trying to compile the game in manjaro (arch based) but i am unable to locate the PKGBUILD

Here is what I have done so far:

- Install **base-devel** and **git**
- create a folder for the compilation and move there, then run:  
**git clone [https://github.com/CleverRaven/Cataclysm-DDA.git](https://github.com/CleverRaven/Cataclysm-DDA.git)**
- go to the parent folder and then run:  
**make -j12 LOCALIZE=0 NATIVE=linux64 RELEASE=1**  
the process didn’t show any errors but i am unable to find the PKGBUILD file.

Any tips please? I have followed several guides but all of them assume i have a PKGBUILD file, and I don’t even after runing the make command.

Also followed the official guide but it doesn’t explain further after the “make” command:

> <https://github.com/CleverRaven/Cataclysm-DDA/blob/2e74bdf5f093de539f6fa717a41bca7586d97213/COMPILING.md>

Any help will be very appreciated. Thank you very much and merry christmas 🙂

---

<div class="post-metadata">

**Author:** ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)\
**Post date:** [December 26, 2018, 2:15pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/2 "2018-12-26T14:15:34Z")

</div>

pkgbuild isn’t a requirement for native Linux builds, only Linux to Windows cross-compiles. I’m running the game all the time and I don’t have that package.

If that make command completed successfully, you should have a `cataclysm` executable in your Cataclysm-DDA directory, and `./cataclysm` should start the game.

---

<div class="post-metadata">

**Author:** ![Carzo](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Carzo](https://discourse.cataclysmdda.org/u/Carzo)\
**Post date:** [December 26, 2018, 2:17pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/3 "2018-12-26T14:17:23Z")

</div>

omg you are right! it works! thank you so much @mlangsdorf

Now that you are here, that folder I believe it’s taking much more space than it actually needs. Is there any way to know which files I can delete safely in order to save up space?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)\
**Post date:** [December 26, 2018, 4:52pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/4 "2018-12-26T16:52:30Z")

</div>

You can safely delete the contents of obj/ after you’ve built a working executable. There’s nothing else I’d recommend, but that’s 64M on my system.

---

<div class="post-metadata">

**Author:** ![Carzo](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Carzo](https://discourse.cataclysmdda.org/u/Carzo)\
**Post date:** [December 26, 2018, 5:24pm UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/5 "2018-12-26T17:24:43Z")

</div>

thanks a lot for your reply

I am new to this linux and compiling thing and my game folder was taking 1.7gb because i just cloned the whole github. I have deleted every single file and directory except cataclysm.a and cataclysm\*

the game works fine. Note that i play the ascii version with no sound or language packs. i will play it further and let you know if it’s fine to delete those. total size is 67.4mb now. I also deleted the save folder (it is impossible that savegames were taking 3mb because I only saved one character preset and one world) and i still have access to both world i preset i created. I didn’t save any game so can’t confirm this but should be easy to backup the folder and try yourself if you’re interested. My guess is that all needed files are bundled in cataclysm.a

I really wonder if I can delete the cataclysm\* file too, and then leave alone the cataclysm.a which looks like the actual meat. Would be good if an admin can confirm the required files for minimal instalation.

cheers !

---

<div class="post-metadata">

**Author:** ![Carzo](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Carzo](https://discourse.cataclysmdda.org/u/Carzo)\
**Post date:** [December 27, 2018, 8:19am UTC](https://discourse.cataclysmdda.org/t/pkgbuild-missing-please-help/18098/6 "2018-12-27T08:19:52Z")

</div>

please ignore my last comment, the game is missing lots of things

I guess I need to delete only the github folder and the obj folder. thanks for your replies
