Subject: [alpine-devel] abuild add support for zip archive

From: "Carlo Landmeter" <[email-masked]>
Date: Mon, 26 Jan 2009 10:15:58 +0000

Please see attached git patch.

Carlo

From 9b46268d267435f3aad2a0e933746360464624df Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <[email-masked]>
Date: Mon, 26 Jan 2009 10:14:46 +0000
Subject: [PATCH] core/abuild: add zip archive support

---
 abuild |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/abuild b/abuild
index 36223f8..7883979 100755
--- a/abuild
+++ b/abuild
@@ -161,6 +161,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
 }
-- 
1.6.1

---

From: Natanael Copa <[email-masked]>
Date: Mon, 26 Jan 2009 12:02:50 +0100

> Please see attached git patch.

comitted. did also a whitespace fix. (use tabs rather than spaces)

thanks!

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---