Martchus
ddfff37556
* Test with `podman` and add according instructions * Allow use of a custom `pacman.config`/`makepkg.config` by mounting them into a special directory within the container
8 lines
254 B
Bash
8 lines
254 B
Bash
#!/bin/bash
|
|
set -e
|
|
for config_file in {/cfg/,}{makepkg,pacman}.conf; do
|
|
[[ -f $config_file ]] && cp --target-directory=/etc "$config_file"
|
|
done
|
|
source PKGBUILD
|
|
pacman -Syu --noconfirm --needed "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}"
|