DeveloperWiki:PKGBUILD.com

From ArchWiki
Revision as of 13:02, 17 September 2010 by Wonder (Talk | contribs)

Jump to: navigation, search

Creating and building packages

devtools 0.9.10 has build helpers that can be used.

/usr/bin/extra-i686-build
/usr/bin/extra-x86_64-build
/usr/bin/multilib-build
/usr/bin/staging-i686-build
/usr/bin/staging-x86_64-build
/usr/bin/testing-i686-build
/usr/bin/testing-x86_64-build

This can be used to _create_ and build packages. Chroots are created in ~/chroots. To build packages that depends on each other should be use makechrootpkg directly.

$ extra-i686-build
$ testing-x86_64-build

i686

$ linux32 sudo makecrootpkg -cr ~/chroots/extra-i686 -- -i

next package

$ linux32 sudo makechrootpkg -r ~/chroot/extra-i686

x86_64

$ sudo makecrootpkg -cr ~/chroots/extra-x86_64 -- -i

next package

$ sudo makechrootpkg -r ~/chroot/extra-x86_64

Updating chroots

$ sudo chrootupdate

Packager

Add ~/.makepkg.conf with PACKAGER information
PACKAGER="Name <email>"

Connecting to sigurd or gerolde from alderaan

$ cat.ssh/config
  Host pkgbuild.com
    Hostname pkgbuild.com
    User youruser
    ForwardAgent yes