summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xaur3
-rwxr-xr-xlibrerepkg4
-rwxr-xr-xtoru-path2
3 files changed, 7 insertions, 2 deletions
diff --git a/aur b/aur
index 24d4317..3d07cd8 100755
--- a/aur
+++ b/aur
@@ -26,6 +26,9 @@ function usage {
echo
echo "This script will download packages from aur to the current dir"
echo "and check their license for nonfree issues."
+ echo
+ echo "Note: it depends on abs to be updated."
+ echo "Install 'abs-libre' and run \`abs\` as root before working with $0"
}
while getopts 'h' arg; do
diff --git a/librerepkg b/librerepkg
index d506003..5cb0fa3 100755
--- a/librerepkg
+++ b/librerepkg
@@ -60,11 +60,11 @@ for _arch in ${arch[@]}; do
stdnull pushd ${tempdir}
+ echo "export CARCH=${_arch}" >> PKGBUILD
+
msg2 "Updating md5sums"
makepkg -gp rePKGBUILD >> rePKGBUILD
- echo "export CARCH=${_arch}" >> rePKGBUILD
-
msg "Repackaging using makepkg"
makepkg -Lcdp rePKGBUILD ${makepkgflags}
diff --git a/toru-path b/toru-path
index 957f49b..baeaeb5 100755
--- a/toru-path
+++ b/toru-path
@@ -22,6 +22,8 @@ fi
fullrepos=()
for (( i = ${#REPOS[@]}-1 ; i >= 0 ; i-- )); do
${VERBOSE} && msg "Processing [%s]" ${REPOS[$i]}
+
+ [ -d "${ABSROOT}${REPOS[$i]}" ] && \
fullrepos+=("${ABSROOT}${REPOS[$i]}")
done
pkgbuilds=($(get_pkgbuilds ${fullrepos[@]}))