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:
commit
52cdccb3ed
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue