Signed-off-by: Robin Broda <robin@broda.me> --- doc/BUILDINFO.5.txt | 3 +++ scripts/makepkg.sh.in | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/BUILDINFO.5.txt b/doc/BUILDINFO.5.txt index b7a72831..4734301e 100644 --- a/doc/BUILDINFO.5.txt +++ b/doc/BUILDINFO.5.txt @@ -44,6 +44,9 @@ BUILDINFO file format. *packager*:: The details of the packager that built the package. +*arch*:: + The architecture of the package. + *builddate*:: The build date of the package in epoch. diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 63b6c3e1..ece53dca 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -688,6 +688,7 @@ write_buildinfo() { write_kv_pair "pkgbuild_sha256sum" $sum write_kv_pair "packager" "${PACKAGER}" + write_kv_pair "arch" "$pkgarch" write_kv_pair "builddate" "${SOURCE_DATE_EPOCH}" write_kv_pair "builddir" "${BUILDDIR}" write_kv_pair "buildenv" "${BUILDENV[@]}" -- 2.16.2