summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-04-26 18:33:07 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-04-26 18:33:07 +0000
commit02bd4fc53a51720bb94589a89073d199ed750d51 (patch)
tree96b6b57137cda85e6b1590b22d92d3bbd9468458 /subr
parenta2491066df4982312eca13a7fab33f5171f93fe3 (diff)
downloadmidipix_build-02bd4fc53a51720bb94589a89073d199ed750d51.tar.bz2
midipix_build-02bd4fc53a51720bb94589a89073d199ed750d51.tar.xz
vars/build.vars:ed:${PKG_{SHA256SUM,URL}}: update dead URL.
subr/pkg_fetch_extract.subr: extract lzip-compressed tarballs w/ lzip.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_fetch_extract.subr3
1 files changed, 3 insertions, 0 deletions
diff --git a/subr/pkg_fetch_extract.subr b/subr/pkg_fetch_extract.subr
index 0afa837e..111b7271 100644
--- a/subr/pkg_fetch_extract.subr
+++ b/subr/pkg_fetch_extract.subr
@@ -14,6 +14,9 @@ pkg_fetch_extract() {
elif [ "${PKG_FNAME##*.tar.}" = "gz" ]\
|| [ "${PKG_FNAME##*.t}" = "gz" ]; then
gunzip -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -;
+ elif [ "${PKG_FNAME##*.tar.}" = "lz" ]\
+ || [ "${PKG_FNAME##*.t}" = "lz" ]; then
+ lzip -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -;
elif [ "${PKG_FNAME##*.tar.}" = "xz" ]\
|| [ "${PKG_FNAME##*.t}" = "xz" ]; then
xz -d < "${BUILD_DLCACHEDIR}/${PKG_FNAME}" | tar -C "${PKG_BASE_DIR}" -xf -;