Manjaro Create Manjaro Packages

Create Manjaro Packages

From Manjaro
Revision as of 21:38, 4 January 2014 by imported>Handy (Created page with "=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. (A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Building for stable i686:

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

Building for testing x86_64:

cd <repo>/<package>
sudo testing-x86_64-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]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.