summarylogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 7618300c0de5..51b749dbe1ba 100755
--- a/build.sh
+++ b/build.sh
@@ -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[@]}"