[packages/chromium-browser/DEVEL: 1/3] since 26 branch, tarballs are xz compressed
glen
glen at pld-linux.org
Tue Feb 26 20:47:27 CET 2013
commit 999e17132c58349bde0ec67f06e6ea6de2c041bc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Feb 25 13:47:09 2013 +0200
since 26 branch, tarballs are xz compressed
get-source.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index 5fa6fe9..731d777 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -45,16 +45,19 @@ LOGFILE=$TMP_DIR/$PACKAGE_NAME-$VERSION.log
(
cd "$TMP_DIR"
-srctarball=$PACKAGE_NAME-$VERSION.tar.bz2
if [ "$CHANNEL" = "dev" ]; then
- wget -c -nv -O $srctarball "$OFFICIAL_URL/chromium-$VERSION.tar.bz2"
+ srctarball=$PACKAGE_NAME-$VERSION.tar.xz
+ unpack=J
+ wget -c -nv -O $srctarball "$OFFICIAL_URL/chromium-$VERSION.tar.xz"
else
+ srctarball=$PACKAGE_NAME-$VERSION.tar.bz2
+ unpack=j
wget -c -nv -O $srctarball "$OFFICIAL_URL/chromium-$VERSION.tar.bz2"
fi
# repackage cleaned up tarball
test -d $PACKAGE_NAME-$VERSION || {
- tar xjvf $srctarball
+ tar x${unpack}vf $srctarball
install -d $PACKAGE_NAME-$VERSION
# relocate to src dir (needed to workaround some gyp bug)
mv chromium-$VERSION $PACKAGE_NAME-$VERSION/src
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/f2f193c6115815ddbc2ce7679ee973605c29e463
More information about the pld-cvs-commit
mailing list