26 lines
809 B
Markdown
26 lines
809 B
Markdown
# aur_repo
|
|
Build repo from aur packages
|
|
|
|
I recommend running this in a container or VM to prevent installing unwanted packages. To install:
|
|
|
|
```
|
|
git clone https://git.actcur.com/actcur/aur_repo
|
|
cd aur_repo
|
|
makepkg -si
|
|
```
|
|
|
|
use visudo to uncomment the nopasswd line for build user.
|
|
|
|
add packages you want to build in /etc/aur_repo/pkglist, one per line
|
|
|
|
then as the build user run aur_repo. Build logs are stored in /var/log/aur_repo. I'd also set a password for the build user.
|
|
|
|
next set up a web server (lighttp, nginx, apache, etc) to serve the /repo folder
|
|
|
|
on any machine that you want to sync to your aur repo add the following to /etc/pacman.conf:
|
|
```
|
|
[aur-local]
|
|
Server = http://[ip-of-your-container]
|
|
```
|
|
|
|
eventually I plan to add multi-arch support so you can use this to build raspberrypi packages.
|