Create Manjaro Packages

Revision as of 21:57, 4 January 2014 by imported>Handy (→‎Building Packages for the various repos)

Guidelines for creating Manjaro packages

Devtools has been updated by core team members to suit our needs. Creating a clean package for Manjaro is as easy as eating pie. (According to Phil!)


The process of creating a package

First, install devtools on your system:

sudo pacman -S devtools


Clone your PKGBUILD from our git:

core

git clone http://git.manjaro.org/package-sources/core.git

extra

git clone http://git.manjaro.org/package-sources/extra.git

community

git clone http://git.manjaro.org/package-sources/community.git

multilib

git clone http://git.manjaro.org/package-sources/multilib.git


Building Packages for the various repos

This is the format:

cd <repo>/<package>
sudo <branch>-<arch>-build


Since Phil pulls all to unstable first, most of the packages will be built only in unstable:

cd <repo>/<package>
sudo unstable-i686-build


Build i686 packages on an x86_64 host

It is possible to build i686 packages on an x86_64 host since all packages will get generated in a clean chroot.


Pushing packages to our repos

To push these packages to our repos is a different story and will be done by boxit. Hopefully Roland will modify boxit so more people other than our core-team can commit packages to our repos. For now, please mail philm your packages & he'll do the upload for you.


Support

Following is a link to this page's forum counterpart where you can post any related feedback: [1]