diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:35:07 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:35:07 -0300 |
commit | 0bdf0e254112eae0332b4ae85f417abb7091f690 (patch) | |
tree | 0778e5d2b94fb31c3238a0d19c870ac7ef9abc9c /aur | |
parent | 8a97ce469507f3c4c0ea06ad0025b57405e42283 (diff) | |
parent | 8a385be009f51b1af2cd8fd82c08b6b7c2c7f8b0 (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Conflicts:
toru
Diffstat (limited to 'aur')
-rwxr-xr-x | aur | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -30,13 +30,18 @@ function usage { while getopts 'h' arg; do case $arg in - h) usage; exit 0 ;; - *) usage; exit 1 ;; + h) usage; exit 0 ;; + *) usage; exit 1 ;; esac done missing_deps=() for _pkg in ${@}; do + +# Remove the version +# TODO check downloaded PKGBUILD version + _pkg="${_pkg%%[<>=]*}" + msg "Downloading $_pkg..." wget -O - -q http://aur.archlinux.org/packages/$_pkg/$_pkg.tar.gz | \ tar xzf - >/dev/null 2>&1 @@ -75,6 +80,8 @@ for _pkg in ${@}; do if ! find ${ABSROOT} -maxdepth 2 -type d -name "$_dep" | egrep "*" >/dev/null ; then missing_deps=(${missing_deps} $_dep) fi + else + msg2 "$_dep is on repos" fi done |