How to install mesa-git?

Mostly a semantic thing, but is mesa-git which conflicts with mesa

Highly doubt this is true

lib32-mesa-git depends on mesa-git, please check pkgbuilds dependencies before making this kind of suggestion


Now Disregard what has been suggested so far

For this scope any AUR helper in unsuitable

Best way is to build the pkgbuilds in a clean chroot, create a local repository and add/remove both at the same time

You can use buildpkg from the manjaro-tools-pkg-git package for chroot build and darkhttpd webserver for creating the local repository

Since mesa-git and lib32-mesa-git share the same source is better to configure a common source folder (SRCDEST= in /etc/makepkg.conf , you can copy it into your home folder as .makepkg.conf if you don’t want to edit the system’s one)

For building a pkgbuild with buildpkg:

git clone https://aur.archlinux.org/mesa-git.git
buildpkgc -p mesa-git

Move the builded package to a folder dedicated for the repository, in there type:
repo-add $VAR.db.tar.gz *.pkg*

This command create the database of the packages, where $VAR is the name of the repository


The darkhttp systemd service for my repo

$ cat /usr/lib/systemd/system/darkhttpd@fabio.service
[Unit]
Description=Darkhttpd Webserver
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/darkhttpd /mnt/SHARE3/Webserver/repository --mimetypes /etc/conf.d/mimetypes --port 2000
#ProtectSystem=full
#ProtectHome=on
#PrivateDevices=on
#NoNewPrivileges=on

[Install]
WantedBy=multi-user.target

Created copying darkhttpd@.service as darkhttpd@fabio.service and edited to specify the folder to serve
sudo cp /usr/lib/systemd/system/darkhttpd@.service /usr/lib/systemd/system/darkhttpd@$USERNAME.service

Service start and enabled with:

sudo systemctl enable --now darkhttpd@fabio.service


The repository configuration:

[Lolix_repo_clean]
SigLevel = Never
Server = http://192.168.1.200:2000/$repo/$arch

To be added to /etc/pacman.conf and /usr/share/manjaro-tools/pacman-default.conf (in this also uncomment the multilib repository to build lib32 pkgbuilds)


After the repo is operational you can build lib32-mesa-git

git clone https://aur.archlinux.org/lib32-mesa-git.git
buildpkgc -p lib32-mesa-git

After the package is builded move it to the repo folder and re-created the packages database