1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/listmonk_ynh.git synced 2024-09-03 19:36:15 +02:00

Merge pull request #31 from ruairif/master

Fix build of listmonk executable on arm64 and armhf
This commit is contained in:
Navan Chauhan 2023-05-12 16:45:52 -06:00 committed by GitHub
commit 52cdccb3ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,13 +46,15 @@ if [ $YNH_ARCH == "armhf" ] || [ $YNH_ARCH == "arm64" ]
then
ynh_setup_source --dest_dir="$install_dir/build"
pushd "$install_dir/build"
# Change to sources directory
cd listmonk-*
# Build the sources
ynh_use_go
export GOPATH="$install_dir/build/go"
export GOCACHE="$install_dir/build/.cache"
ynh_use_nodejs
make dist
mv listmonk ..
mv listmonk ../../
popd
ynh_remove_go
ynh_remove_nodejs