diff options
-rwxr-xr-x | aur | 3 | ||||
-rwxr-xr-x | librerepkg | 4 | ||||
-rwxr-xr-x | toru-path | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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} @@ -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[@]})) |