From 1a60b54ff583a39e1069dcd527c347f23bbc2b5a Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 27 Jun 2011 21:00:12 -0300 Subject: Several fixes --- aur | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'aur') diff --git a/aur b/aur index a7408b7..7c2860b 100755 --- a/aur +++ b/aur @@ -37,6 +37,11 @@ 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 -- cgit v1.2.3-54-g00ecf