Difference between revisions of "Buildiso with AUR packages: Using buildpkg"
Views
Actions
Namespaces
Variants
Tools
Buildiso with AUR packages: Using buildpkg (view source)
Revision as of 06:58, 27 June 2015
, 9 years agofix duplicated TOC numbering
imported>Excalibur1234 (corrected mistake) |
imported>Oberon (fix duplicated TOC numbering) |
||
Line 10: | Line 10: | ||
== | ==Create directories== | ||
The first thing you should probably do is create a directory for your local repository. The local repository is called <code>local-repo</code> throughout this entire tutorial. This'll help keep things organized. Your repository will include two subdirectories for the different architectures: | The first thing you should probably do is create a directory for your local repository. The local repository is called <code>local-repo</code> throughout this entire tutorial. This'll help keep things organized. Your repository will include two subdirectories for the different architectures: | ||
Line 26: | Line 26: | ||
== | ==Download package files from AUR using yaourt== | ||
Now, go to your local build directory: | Now, go to your local build directory: | ||
Line 48: | Line 48: | ||
== | ==Building with buildpkg== | ||
Up to this point, you have only downloaded and unpacked files from the AUR. Next, you need to build those files into proper packages: | Up to this point, you have only downloaded and unpacked files from the AUR. Next, you need to build those files into proper packages: | ||
Line 103: | Line 103: | ||
== | ==Copy package files to local repository== | ||
In the last chapter you have built packages. These packages were created in this directory on your system: | In the last chapter you have built packages. These packages were created in this directory on your system: | ||
Line 128: | Line 128: | ||
== | ==Build a .db file== | ||
Use the command <code>repo-add</code> to build a database file. Run the following commands in a terminal: | Use the command <code>repo-add</code> to build a database file. Run the following commands in a terminal: | ||
Line 147: | Line 147: | ||
== | ==Add local-repo to pacman-XXXXX.conf file== | ||
Attention: The pacman configuration file is different for 32bit and 64bit systems: On 64bit systems the <code>[multilib]</code> repository is included. | Attention: The pacman configuration file is different for 32bit and 64bit systems: On 64bit systems the <code>[multilib]</code> repository is included. |