diff --git a/build.sh b/build.sh index b7a1f27..1645ed0 100755 --- a/build.sh +++ b/build.sh @@ -1,17 +1,20 @@ #!/data/data/com.termux/files/usr/bin/bash set -x -apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg2 dirmngr curl autoconf automake sed gettext gzip pkg-config +set -e +apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg2 dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev +# To make other files +apt -y install gettext-dev pip install virtualenv virtualenv --python=python3 borg-env source borg-env/bin/activate -git clone https://github.com/borgbackup/borg.git +test -d borg || git clone https://github.com/borgbackup/borg.git cd borg -git branch 1.1-maint remotes/origin/1.1-maint -git checkout 1.1-maint +git checkout 1.1.6 +pip install Cython pip install -r requirements.d/development.txt #find if sync_file_range is available