Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.36 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.36 KB

CI

Build AUR packages

The following command will download AUR package and build it:

$ docker pull quay.io/valdar/arch-build-aur
$ docker run --rm -v $(pwd):/pkg uay.io/valdar/arch-build-aur /bin/bash -c '/build-aur <package>'

Build repo packages

The following command will download repo package and build it:

$ docker pull quay.io/valdar/arch-build-aur
$ docker run --rm -v $(pwd):/pkg quay.io/valdar/arch-build-aur /bin/bash -c '/build-repo <package>'

Build PKGBUILD

The following command will build local PKGBUILD file (must reside in a folder mounted to /build):

$ docker pull quay.io/valdar/arch-build-aur
$ docker run --rm -v $(pwd):/pkg -v $(pwd):/build quay.io/valdar/arch-build-aur /bin/bash -c '/build-pkgbuild'

.SRCINFO file will be updated/created in /build directory.

Compiled package location

The binary will be placed in the /pkg folder, which in the example above is mounted to the current directory on the host.