ยง2023-08-15

[alexlai@n2Mnjaro-01 src]$ wget https://aur.archlinux.org/cgit/aur.git/snapshot/mongodb-tools.tar.gz  && cd ..

$ tar xvf src/mongodb-tools.tar.gz && $ cd mongodb-tools/
$ cp -v PKGBUILD PKGBUILD.ori
'PKGBUILD' -> 'PKGBUILD.ori'
$ nano PKGBUILD
$ diff PKGBUILD.ori PKGBUILD
12c12
< arch=('x86_64')
---
> arch=('x86_64' 'aarch64')

$ makepkg -s
==> Making package: mongodb-tools 1:100.7.5-1 (Tue 15 Aug 2023 08:30:20 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) go-2:1.20.5-1

Total Download Size:    35.72 MiB
Total Installed Size:  193.17 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 go-2:1.20.5-1-aarch64