1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Add buster support for ARM

This commit is contained in:
Josué Tille 2020-06-03 14:34:16 +02:00
parent f9720df2fe
commit 541971ace3
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 12 additions and 1 deletions

11
conf/armv7_buster.src Normal file
View file

@ -0,0 +1,11 @@
SOURCE_URL=https://github.com/Josue-T/pgadmin_python_build/releases/download/v4-4.22/pgadmin_4-4.22-buster-bin1_armv7l.tar.gz
SOURCE_SUM=f996452df4925001a855270a125870f20afe4df68772936db8ea21604fc2c324
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256
SOURCE_SUM_PRG=sha256sum
# (Optional) Archive format
# default: tar.gz
SOURCE_FORMAT=tar.gz
# (Optional) Put false if sources are directly in the archive root
# default: true
SOURCE_IN_SUBDIR=true

View file

@ -33,7 +33,7 @@ install_source() {
ynh_secure_remove --file=$final_path/lib
ynh_secure_remove --file=$final_path/include
ynh_secure_remove --file=$final_path/share
ynh_setup_source --dest_dir $final_path/ --source_id "armv7_stretch"
ynh_setup_source --dest_dir $final_path/ --source_id "armv7_$(lsb_release --codename --short)"
else
# Install virtualenv if it don't exist
test -e $final_path/bin/python3 || python3 -m venv $final_path