tor-browser

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

build-upx.sh (549B)


      1 #!/bin/bash
      2 set -x -e -v
      3 
      4 WORKSPACE=$HOME/workspace
      5 INSTALL_DIR=$WORKSPACE/upx
      6 
      7 mkdir -p $INSTALL_DIR/bin
      8 
      9 cd $WORKSPACE
     10 
     11 git clone -n https://github.com/upx/upx.git upx-clone
     12 cd upx-clone
     13 # https://github.com/upx/upx/releases/tag/v3.95
     14 git checkout 7a3637ff5a800b8bcbad20ae7f668d8c8449b014 # Asserts integrity of the clone (right?)
     15 git submodule update --init --recursive
     16 cd src
     17 make -j$(nproc) CXXFLAGS_WERROR=
     18 cp upx.out $INSTALL_DIR/bin/upx
     19 
     20 # --------------
     21 
     22 cd $WORKSPACE
     23 tar caf upx.tar.zst upx
     24 
     25 mkdir -p $UPLOAD_DIR
     26 cp upx.tar.* $UPLOAD_DIR