Difference between revisions of "Buildiso with AUR packages: Using buildpkg"

fix duplicated TOC numbering
imported>Excalibur1234
(corrected mistake)
imported>Oberon
(fix duplicated TOC numbering)
Line 10: Line 10:




==1. Create directories==
==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:




==2. Download package files from AUR using yaourt==
==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:




==3. Building with buildpkg==
==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:




==4. Copy package files to local repository==
==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:




==5. Build a .db file==
==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:




==6. Add local-repo to pacman-XXXXX.conf file==
==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.
Anonymous user