How to build my own Debian Package for OpenRA?

I would like to build my own OpenRA Debian package on Ubuntu

Discussion about the game and its default mods.
Post Reply
fusion809
Posts: 1
Joined: Mon Oct 17, 2016 6:18 pm

How to build my own Debian Package for OpenRA?

Post by fusion809 »

How does one build a Debian package for OpenRA from its source code? I know that Debian package releases are available from https://github.com/OpenRA/OpenRA/releases, but I want to build my own Debian package, how do I do this? I have tried running:

Code: Select all

make dependencies && make core && make tools
to compile the source. Then going to packaging/linux/deb and tried using the buildpackage.sh script, but the syntax is confusing me. What are root-dir and outputdir meant to be?

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Post by Graion Dilach »

IMO you should just download everything under your home directory, do make dependencies && make all and call it a day.

That's how I handle my development directories.
Image
Image
Image
AS Discord server: https://discord.gg/7aM7Hm2

User avatar
Sleipnir
Posts: 878
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

I suggest instead commenting out the windows and osx sections in package-all.sh, and then execute that as `./packaging/package-all.sh custom-20161017 /full/path/to/where/your/deb/should/be/written`

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

You can also take a look at https://github.com/ckorn/PlayDeb/tree/xenial/openra if you want to do it properly.

Post Reply