.. _source repository:
=================
Source Repository
=================
A source repository is a |version control repository|, that contains the
necessary files to build a package. At the bare minimum this includes a
|PKGBUILD| file, but may contain an install script as well as patches or other
arbitrary files.
Using |makepkg|, the sources are used to build a package, which can be
installed with |pacman|. With the help of |package splitting| it is possible to
create more than one package from a single |PKGBUILD|.
.. note::
Due to |dbscripts| and |makepkg| limitations it is currently not possible to
target more than one :ref:`binary repository` with a single |PKGBUILD|.
.. |version control repository| raw:: html
version control repository
.. |PKGBUILD| raw:: html
PKGBUILD
.. |makepkg| raw:: html
makepkg
.. |pacman| raw:: html
pacman
.. |package splitting| raw:: html
package splitting
.. |dbscripts| raw:: html
dbscripts