diff --git a/scripts/extract b/scripts/extract index 77f32fe7c..ecd3ce3d5 100755 --- a/scripts/extract +++ b/scripts/extract @@ -56,6 +56,10 @@ for i in $PKG_URL; do mkdir -p $3/$1 7z x -o$3/$1 $f ;; + *.zip) + mkdir -p $3/$1 + unzip -q $f -d $3/$1 + ;; *.diff | *.patch) cat $f | patch -d $3 -p1 ;; diff --git a/scripts/unpack b/scripts/unpack index 8670ac577..d185a3cb1 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -82,6 +82,7 @@ if [ -n "$PKG_URL" ]; then $SCRIPTS/extract $1 "$1*.txz" $BUILD $SCRIPTS/extract $1 "$1*.tgz" $BUILD $SCRIPTS/extract $1 "$1*.7z" $BUILD + $SCRIPTS/extract $1 "$1*.zip" $BUILD fi if [ -n "$PKG_SOURCE_DIR" ]; then