tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

build-7zz.sh (445B)


      1 #!/bin/bash
      2 set -x -e -v
      3 
      4 # This script is for building 7-zip for Linux.
      5 PROJECT=7zz
      6 
      7 cd ${MOZ_FETCHES_DIR}/${PROJECT}
      8 
      9 # Replace CR/LF line endings with Unix LF endings
     10 find . -name "*.mak" -exec sed -i 's/\r$//' {} \;
     11 pushd CPP/7zip/Bundles/Alone2
     12 make -f ../../cmpl_gcc.mak
     13 popd
     14 
     15 mkdir ${PROJECT}
     16 mv CPP/7zip/Bundles/Alone2/b/g/7zz ${PROJECT}/7zz
     17 tar -acf ${PROJECT}.tar.zst ${PROJECT}
     18 
     19 mkdir -p $UPLOAD_DIR
     20 mv ${PROJECT}.tar.zst $UPLOAD_DIR