box64/pkgbuilds/README.md
Jai A P b3b84f8357
Latest batch of PKGBUILD updates (#637)
* Latest batch of PKGBUILD updates

- New platforms added
- Combined PKGBUILD for all Raspberry Pi devices
- Combined PKGBUILD for all RockChip devices

* Fixes

- Fix arch in rv64 and x86_64
- Remove la64 since arch linux not available for platform

* No LARCH64 PKGBUILD
2023-03-25 20:50:31 +01:00

1.4 KiB

The directory containing all PKGBUILDs for BOX64

FAQ

1. How to use it?

Just download the PKGBUILD-<your-platform> (no need to download the whole repository), go to directory where you downloaded and type:

mv ./PKGBUILD-<your-platform> ./PKGBUILD
# use the below line if you need a DEBUG build
# sed -i 's/RelWithDebInfo/Debug/g' ./PKGBUILD
cd ..
makepkg -si

This will copy the PKGBUILD for your platform (where you type your platform name instead of <your-platform>), build it and install the PKGBUILD on 64-bit Archlinux ARM.

In the future, I might try to do an unified PKGBUILD for all platforms that will recognize your platform automatically.

2. What platforms are currently supported.

All specified in COMPILE.md except for LARCH64, PPC64LE and SW64.

3. Any advantages with this solution?

This might give you some advantages like:

  • automatic updates (with some AUR frontends like pamac-aur or yay);
  • easily uninstall with pacman -R when no needed (no need other scripts nor Makefile to do this);
  • your box64 installation is recognized as a package (where it wasn't when installing with make install).

Note: You can use makedeb (or) pkgbuild2spec to compile box64 to .deb or .rpm installer files.