core/abuild: add zip archive support

This commit is contained in:
Carlo Landmeter 2009-01-26 10:14:46 +00:00 committed by Natanael Copa
parent 7e4549ff9e
commit 025590c06b

3
abuild
View File

@ -160,6 +160,9 @@ unpack() {
msg "Unpacking $s..."
unlzma -c "$s" | tar -C "$srcdir" -x \
|| return 1;;
*.zip)
msg "Unpacking $s..."
unzip "$s" -d "$srcdir" || return 1;;
esac
done
}