PKGBUILDs/devel/container/containersync
Martchus abec85f5d2 Add instructions on how to use the packaging under other distros using podman
These instructions are still pretty raw. Creating helper scripts to make
the use easier would make sense at some point.
2023-01-22 18:05:44 +01:00

8 lines
275 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
[[ -f PKGBUILD ]] && source PKGBUILD
pacman -Syu --noconfirm --needed "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}"