diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-10 17:06:16 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-10 17:06:16 -0500 |
commit | 0cb622f771024f739b84eb0522c85eb2768c2820 (patch) | |
tree | d69888bc25dec54e58c38f3cac0c3902a98e5d4a /fullpkg | |
parent | d7e07174e2dae3d1bd9ec79c90cba9912f2cef0f (diff) | |
parent | 0e929530a592dec84439a1c71ca57513517b8e94 (diff) |
Merge branch 'master' of vparabola:~/projects/libretools
Diffstat (limited to 'fullpkg')
-rwxr-xr-x | fullpkg | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -108,7 +108,7 @@ repo=${1:-$(guess_repo)} source PKGBUILD msg "Building ${repo:-missing repo}/${pkgbase:-${pkgname[@]}}: $pkgdesc" -is_built "${pkgbase:-${pkgname[0]}}>=${pkgver}" && exit 0 +is_built "${pkgbase:-${pkgname[0]}}>=${pkgver}-${pkgrel}" && exit 0 #sudo pacman -Sy @@ -124,6 +124,11 @@ check_queue || exit 1 failed=() missing=() +if ! grep mips64el PKGBUILD >/dev/null; then + msg "Adding mips64el arch" + sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" "PKGBUILD" +fi + # Gets the dependency list from the package_* functions #pkgdeps=($(cat PKGBUILD | \ # tr -d "\n" | \ @@ -152,11 +157,11 @@ for _dep in ${deps[@]}; do # TODO find split packages [[ -e "$ABSROOT/${_repo}/$_dep/PKGBUILD" ]] && { source "$ABSROOT/${_repo}/$_dep/PKGBUILD" - msg2 "Checking for $_dep>=$pkgver" + msg2 "Checking for $_dep>=$pkgver-$pkgrel" # If this version is built, continue with the next dep - if is_built "$_dep>=$pkgver"; then + if is_built "$_dep>=$pkgver-$pkgrel"; then msg2 "No need to build this one" break fi |