diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,12 +1,15 @@ #!/bin/bash set -e +# make all required packages available in pkg-cache, e.g. like this: + +# mkdir pkg-cache # yay -S r-testthat -# mv /tmp/yaytmp-1000/*/*.pkg.tar.xz .cache/yay/ +# mv /tmp/yaytmp-1000/*/*.pkg.tar.xz pkg-cache/ declare -a args for dep in $(pactree -u r-testthat | grep '^r-'); do - args+=('-I' "$(ls ~/.cache/yay/$dep-*)") + args+=('-I' "$(ls ./pkg-cache/$dep-*)") done extra-x86_64-build -- "${args[@]}" |