diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-11-03 23:41:32 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-11-03 23:41:32 +0100 |
commit | d2f215ca094983ce4636e41071538bc881a051cb (patch) | |
tree | bda82c87806481e6f7c69a26f2fbf032df519149 | |
parent | dbec8ab1119007c0c00de40732117bec702b5fda (diff) | |
download | aurbuilder-d2f215ca094983ce4636e41071538bc881a051cb.tar.gz |
a
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | Readme.md | 15 | ||||
-rwxr-xr-x | build.sh | 1 |
3 files changed, 21 insertions, 1 deletions
@@ -1,11 +1,15 @@ FROM archlinux:base-devel +RUN pacman --noconfirm -Syu ARG AUR_RPC_BASE_URL="https://aur.archlinux.org/rpc/v5" ARG PACKAGE_NAME="" ARG BUILD_ALL_AUR_DEPENDS="no" -COPY --chown=root:root buildpackage.sh /buildpackage.sh RUN mkdir /pkgout VOLUME /pkgout +RUN pacman --noconfirm -S python python-requests + +COPY --chown=root:root buildpackage.sh /buildpackage.sh + CMD /buildpackage.s $PACKAGE_URL diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..ba90042 --- /dev/null +++ b/Readme.md @@ -0,0 +1,15 @@ +# AUR PKG Builder + +Docker base AUR Package builder for local arch repo + +## Workflow + +Provided: Package name + +* search AUR for package (exact match only!) +* build dependency tree (also search with provided, then there is no exact match) +* prioritize packages in official repos. Don't build them. +* Add all AUR-PKGs in tree to to-build-list +* MAKEPKG ur way thourhg + + @@ -1,3 +1,4 @@ #!/bin/bash +docker pull archlinux:base-devel docker build -t archpkg . |