@omerida or try via docker build using something like
#!/bin/bash
docker rm makepkg
docker run --privileged -e SYNC_DATABASE=1 -e EXPORT_PKG=1 -v /etc/pacman.d/mirrorlist:/etc/pacman.d/mirrorlist:ro -v /etc/makepkg2.conf:/etc/makepkg.conf:ro -v $PWD:/pkg --name makepkg whynothugo/makepkg
this will build the packages and copy it to your build dir after completion
Notes: i'm mapping makepkg2.conf because im using ccache what is not a good option in a container and the container default makepkg.conf is missing MAKEFLAGS per default.
you can map this adding "-v /etc/makepkg2.conf:/etc/makepkg.conf:ro" to the docker run
diff -u /etc/makepkg.conf /etc/makepkg2.conf
--- /etc/makepkg.conf 2022-08-08 14:48:24.805273359 +0200
+++ /etc/makepkg2.conf 2022-08-09 22:39:35.841588296 +0200
@@ -65,7 +65,7 @@
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
-BUILDENV=(!distcc color ccache check !sign)
+BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
Pinned Comments
muhviehstarr commented on 2022-08-08 07:32 (UTC) (edited on 2022-10-18 12:04 (UTC) by muhviehstarr)
binaries can be found here, currently the packages are not signed , i will add this when i got some time
https://files.it-kraut.net/php80/
pacman.conf:
el_aur commented on 2022-02-03 18:50 (UTC)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php80
is installed withphp80-cli
subpackage,php80
doesn't include it anymore!!!PEAR and PECL are available as
php80-pear
andphp80-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php80
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php80/conf.d
They are loaded in correct order according to priority