summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-04-05 13:28:07 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-08 16:28:09 +0000
commit5b7b1f80cbaa88849e2698d67bf2d72ac9addac4 (patch)
tree29421ef791fa00c6abb40d44b22ae41caa818c00
parentc95263d877ca3ed953de0a114b2c1ccb9aa04b65 (diff)
downloadabuild-5b7b1f80cbaa88849e2698d67bf2d72ac9addac4.tar.bz2
abuild-5b7b1f80cbaa88849e2698d67bf2d72ac9addac4.tar.xz
abuild: Add support for lzip source packages
Currently abuild does not understand .tar.lz packages, which blocks the inclusion of certain packages in Alpine Linux. I found this issue when adding 'ed' package to the repository. With this change, abuild package will now depend on lzip package. I might send a patch for abuild's APKBUILD.
-rw-r--r--abuild.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index c201eb2..843baab 100644
--- a/abuild.in
+++ b/abuild.in
@@ -418,6 +418,9 @@ default_unpack() {
*.tar.bz2)
msg "Unpacking $s..."
tar -C "$srcdir" -jxf "$s" || return 1;;
+ *.tar.lz)
+ msg "Unpacking $s..."
+ tar -C "$srcdir" --lzip -xf "$s" || return 1;;
*.tar.lzma)
msg "Unpacking $s..."
unlzma -c "$s" | tar -C "$srcdir" -x \