https://github.com/zocker-160/aur-builder
Docker container for building PKGBUILD packages from the AUR
https://github.com/zocker-160/aur-builder
manjaro manjaro-linux
Last synced: 6 months ago
JSON representation
Docker container for building PKGBUILD packages from the AUR
- Host: GitHub
- URL: https://github.com/zocker-160/aur-builder
- Owner: zocker-160
- Created: 2020-03-18T17:35:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T21:41:09.000Z (over 1 year ago)
- Last Synced: 2025-04-30T14:27:43.472Z (6 months ago)
- Topics: manjaro, manjaro-linux
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Docker container to build AUR and PKGBUILD packages
[](https://github.com/zocker-160/aur-builder/actions/workflows/baseimage%20build.yml)
## Quickstart
```bash
mkdir build
# Archlinux
docker run --rm --name builder --user builder --net host -v $(pwd)/build:/results zocker160/aur-builder:latest
# Manjaro
docker run --rm --name builder --user builder --net host -v $(pwd)/build:/results zocker160/aur-builder:manjaro
```## Using build scripts
```bash
git clone https://github.com/zocker-160/aur-builder.git
cd aur-builder# if you want to use prebuild container
## Archlinux
bash zhub.sh
## Manjaro
bash zhubManjaro.sh# if you want to build the container yourself
## Archlinux
make arch
## Manjaro
make manjarobash zlocal.sh
```#### build own / local PKGBUILD (not from AUR)
```bash
mkdir build
# if you have build the container using the make command
docker run -it --name builder --user builder --net host -v $(pwd)/build:/results --entrypoint bash makepkg
# if you want to use prebuild container
## Arch
docker run -it --name builder --user builder --net host -v $(pwd)/build:/results --entrypoint bash zocker160/aur-builder:latest
## Manjaro
docker run -it --name builder --user builder --net host -v $(pwd)/build:/results --entrypoint bash zocker160/aur-builder:manjaro
### inside the docker container
cd ~
# do whatever you want to prepare/pull/copy the PKGBUILD file
zabuilder.sh # this builds the PKGBUILD inside the current folder + generates a log file + moves it to /results
```If successful you should see a `.pkg` and a `.log` file.
If you have any issues, feel free to create a new issue on github: [Issues · zocker-160/aur-builder · GitHub](https://github.com/zocker-160/aur-builder/issues)