Best way to install swift-lang

Hi, I would like to know how best to install swift language on Manjaro.
I can’t find a relevant package with “pamac search swift”.

I have thought about using AUR or Docker, but I wanted to know a more Manjaro way of doing this.
Should I build the project from source?
If there is a demand, I’m happy to re-package and distribute it.

The swift package is in the AUR and is called swift . This package complies it form source. Which can take some time.
There is also a binary package in the AUR called swift-bin . This can be installed without a long compile. But you would need to trust the person that compiled the binary. (Which is in this case directly downloaded form swift.org )

Please read up on what the AUR is and how it can be used.
https://wiki.manjaro.org/index.php/Arch_User_Repository
https://wiki.manjaro.org/index.php/Pamac
https://wiki.archlinux.org/index.php/Arch_User_Repository

You have to activate the AUR and that is indeed the Manjaro way of installing it:

$ pamac search swift
tifig                                                                                                                                                               0.8.0-2                                                       AUR 
    Swift IDE based on Eclipse
tailor                                                                                                                                                              0.12.0-1                                                      AUR 
    Cross-platform static analyzer and linter for Swift
swen                                                                                                                                                                28.91c5b6b-1                                                  AUR 
    A toy 2d game engine written in swift using SDL2
svfs                                                                                                                                                                0.9.1-2                                                       AUR 
    The Swift Virtual File System for hubiC (ovh)
ruby-hpricot                                                                                                                                                        0.8.6-9                                                       community 
    A swift, liberal HTML parser with a fantastic library
ruby-fog-radosgw                                                                                                                                                    0.0.4-1                                                       AUR 
    Fog backend for provisioning users on Ceph Radosgw - the Swift and S3 compatible REST API for Ceph.
rclone-git                                                                                                                                                          1.50.0.r83.g4537d9b5c-1                                       AUR 
    Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage
rclone-bin                                                                                                                                                          1.51.0-1                                                      AUR 
    Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage.
llbuild-git                                                                                                                                                         swift.DEVELOPMENT.SNAPSHOT.2020.09.23.a.r0.g3332fc26-1        AUR 
    Build system and library at the core of XCode and Swift package manager.
python-swiftclient                                                                                                                                                  3.10.1-1                                                      community 
    An SDK for building applications to work with OpenStack
python-django-storage-swift                                                                                                                                         1.2.19-2                                                      AUR 
    OpenStack Swift storage backend for Django
nion-swift                                                                                                                                                          0.5.7-1                                                       AUR 
    Program developed by Nion Co. for interfacing with electron microscopes and for data analysis.
swiftshader-git                                                                                                                                                     r4824.e7ce4e5391-1                                            AUR 
    High-performance CPU-based implementation of the Vulkan, OpenGL ES, and Direct3D 9 graphics APIs
swiftlint                                                                                                                                                           0.40.2-1                                                      AUR 
    A tool to enforce Swift style and conventions.
swiftenv                                                                                                                                                            1.4.0-1                                                       AUR 
    Swift Version Manager
swiften4-git                                                                                                                                                        4.0.2.r6.gbb3bd8a32-1                                         AUR 
    XMPP library written in C++ with Boost (4.x branch)
swiften-git                                                                                                                                                         4.0beta2.r191.gf93289408-1                                    AUR 
    XMPP library written in C++ with Boost
swiften                                                                                                                                                             4.0.2-1                                                       community 
    XMPP library written in C++ with Boost
swift4-im-git                                                                                                                                                       4.0.2.r6.gbb3bd8a32-1                                         AUR 
    XMPP client written in C++ with Qt and Swiften (4.x branch)
swift-protobuf-git                                                                                                                                                  1.0.2-1                                                       AUR 
    Plugin and runtime library for using protobuf with Swift.
swift-llvm-libs-git                                                             
    LLVM runtime libraries
swift-llvm-git                                                                  
    Collection of modular and reusable compiler and toolchain technologies
swift-lldb-development                                                          
    The Swift programming language debugger (LLDB) and REPL - development snapsh
swift-lldb                                                                      
    The Swift programming language debugger (LLDB) and REPL
swift-language-git                                                              
    The Swift programming language, taken directly from the Apple repository
swift-im-git                                                                    
    XMPP client written in C++ with Qt and Swiften
swift-im                                                                        
    XMPP client written in C++ with Qt and Swiften
swift-format                                                                    
    Formatting technology for Swift source code
swift-explorer                                                                  
    User-friendly tool to manage files in an OpenStack Storage system (SWIFT)
swift-development                                                               
    The Swift programming language compiler and tools - development snapshot
swift-bin                                                                       
    Binary builds of the Swift programming language
swift                                                                           
    The Swift programming language compiler and tools