PKGBUILD issues
The way the PKGBUILD is written, it interactively asks for config, which is unidiomatic and confusing for users/developers. I've been building with yes '' | makepkg
, but it's not clear whether this is how the package as distributed is built.
In addition, running makepkg
multiple times fails, because patching is not idempotent--patch
will fail when trying to create already-existing files:
-> Applying patch: 0002-dts-add-pinetab-dev-old-display-panel.patch...
patching file arch/arm64/boot/dts/allwinner/Makefile
Hunk #1 succeeded at 13 with fuzz 1 (offset -2 lines).
The next patch would create the file arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts,
which already exists! Skipping patch.
1 out of 1 hunk ignored
This can be circumvented by using makepkg -e --noprepare
for subsequent invocations, but really it would be better to fix the PKGBUILD
.