PKGBUILDs/devel/container/containersync
Martchus ddfff37556 Improve makecontainerpkg
* 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
2023-01-21 18:44:16 +01:00

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[@]}"