1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Use prebuilt source for ARM

This commit is contained in:
Josué Tille 2017-10-28 10:54:14 +02:00
parent d30a09d0f9
commit 318181677f
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/matrix-synapse_0.24.1-bin1_armv7l.tar.gz
SOURCE_SUM=f1a4941b4feba49111eaf5dc85cff986ec63a2628eaea4a6d5bfcfe3162d0943
SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.24.1/matrix-synapse_0.24.1-bin1_armv7l.tar.gz
SOURCE_SUM=20b6b3b195210aa778a017796a310b4327d8ecbd1b423214e83603aae319957c
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256
SOURCE_SUM_PRG=sha256sum

View file

@ -19,10 +19,12 @@ setup_dir() {
mkdir -p /var/log/matrix-synapse
mkdir -p /etc/matrix-synapse/conf.d
mkdir -p $final_path
# Install virtualenv
virtualenv -p python2.7 $final_path
}
install_source() {
if [ -n "$(uname -m | grep arm)" ]
then
ynh_setup_source $final_path/ "armv7"