ยง2023-06-23
- Get PKHBUILD
$ pwd
/opt/home/alexlai/build/src
(PYTHON-3.11.4) [alexlai@n2MnJaro src]$ wget https://aur.archlinux.org/cgit/aur.git/snapshot/mongodb.tar.gz <-- in ENV Control
cd ..
(PYTHON-3.11.4) [alexlai@n2MnJaro build]$ tar xvf src/mongodb.tar.gz
mongodb/
mongodb/.SRCINFO
mongodb/.gitignore
mongodb/PKGBUILD
mongodb/mongodb-4.4.1-gcc11.patch
mongodb/mongodb-4.4.10-boost-1.81.patch
mongodb/mongodb-5.0.2-no-compass.patch
mongodb/mongodb-5.0.2-skip-reqs-check.patch
mongodb/mongodb-6.0.0-boost-1.79.patch
mongodb/mongodb-6.0.0-gcc12.patch
mongodb/mongodb-6.0.2-sconstruct-changes.patch
mongodb/mongodb.sysusers
mongodb/mongodb.tmpfiles
(PYTHON-3.11.4) [alexlai@n2MnJaro build]$ cd mongodb/
(PYTHON-3.11.4) [alexlai@n2MnJaro mongodb]$ nano PKGBUILD <-- arch=("x86_64" "aarch64")
- makepkg -s
PYTHON-3.11.4) [alexlai@n2MnJaro mongodb]$ makepkg -s
==> Making package: mongodb 6.0.5-1 (Fri 23 Jun 2023 01:09:57 PM CST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for alexlai:
resolving dependencies...
looking for conflicting packages...
Packages (3) boost-libs-1.81.0-6 pcre-8.45-3 yaml-cpp-0.7.0-2
Total Download Size: 3.01 MiB
Total Installed Size: 13.98 MiB
:: Proceed with installation? [Y/n]
looking for conflicting packages...
Packages (21) python-autocommand-2.2.2-4 python-fastjsonschema-2.16.3-4 python-inflect-6.0.4-2
python-jaraco.context-4.3.0-3 python-jaraco.functools-3.6.0-3 python-jaraco.text-3.11.1-3
python-more-itertools-9.1.1-4 python-ordered-set-4.1.0-4 python-packaging-23.1-1
python-platformdirs-3.5.1-1 python-pydantic-1.10.7-4 python-tomli-2.0.1-3
python-trove-classifiers-2023.4.25-1 python-typing_extensions-4.5.0-4
python-validate-pyproject-0.12.2-4 boost-1.81.0-6 python-cheetah3-3.3.1-2
python-pymongo-4.3.3-2 python-regex-2023.5.5-1 python-setuptools-1:67.7.0-1 python-yaml-6.0-3
Total Download Size: 18.01 MiB
Total Installed Size: 203.62 MiB
:: Proceed with installation? [Y/n]
==> Retrieving sources...
-> Downloading mongodb-src-r6.0.5.tar.gz...
- additional pip modules
pip install psutil
pip install PyYAML