These instructions are still pretty raw. Creating helper scripts to make the use easier would make sense at some point.
8 lines
275 B
Bash
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[@]}"
|