aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-12 15:40:37 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-12 15:40:37 +0100
commitd9656b75b47ffcf35be21d2f82ddb7c0b584e419 (patch)
treea5336d4c6dddecc2063386114a7b3084cdc43dbe
parent1cb62685afe79e7d3ab5c38b1ff6900c587f96d3 (diff)
downloadaurbuilder-d9656b75b47ffcf35be21d2f82ddb7c0b584e419.tar.gz
some comments and spelling
-rw-r--r--Dockerfile2
-rwxr-xr-xbin/getpackage.py7
2 files changed, 7 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b16d2bb..f7b5e7f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,7 @@ ENV PACKAGE_NAME=""
ENV PACKAGER="John Doe <John.Doe@example.com>"
ENV ARCH="x86_64"
ENV FORCE_REBUILD="no"
-ENV CHOWM=""
+ENV CHOWN=""
RUN pacman --noconfirm -Syu
RUN pacman --noconfirm -S git sudo
diff --git a/bin/getpackage.py b/bin/getpackage.py
index 5f85b8e..0091dd6 100755
--- a/bin/getpackage.py
+++ b/bin/getpackage.py
@@ -1,5 +1,8 @@
#!/usr/bin/env python3
+# Create a list of package names required to build supplied AUR package.
+# packages present in the official repos will be ignored.
+# relevant docs:
# AUR API:
# https://wiki.archlinux.org/title/Aurweb_RPC_interface
# Package API:
@@ -132,8 +135,10 @@ base_pkg_info = maybe_base_pkg_info
aur_deps = build_aur_dependencies(PKG)
+# We rely on the rigth order here.
+# The dependency must be before the package that depends on it,
+# otherwise makepkg will fail
for dep in aur_deps:
-
pkg = aur_get_package(dep)
if pkg is None: