summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2021-07-18 18:27:14 +0200
committerLevente Polyak <anthraxx@archlinux.org>2021-11-18 20:31:23 +0100
commitdacde204c91b9c5cb25ac793c17e13d287187b57 (patch)
tree5bb42b72e661ad58a9c27b0437c280497840b450 /README.md
parent1f1f6be8892d95eb62fb8d0d190f816b3db32d8e (diff)
downloaddevtools-dacde204c91b9c5cb25ac793c17e13d287187b57.tar.xz
makerepropkg: use correct devtools makepkg.conf files from dist
Use the recorded buildtool in order to download the matching dist package and use the appropriate makepkg.conf for reproducing the package. This is required as the flags are not recorded in the BUILDINFO hence we need to provide the matching config that declared those flags.
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0f5d8f2..c4bc8f4 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,17 @@ as following.
git config format.subjectprefix 'devtools] [PATCH'
```
+## Building
+
+When building official distro packages the `BUILDTOOLVER` needs to be set to the
+exact label of the release package in order to allow to detect the exactly used
+devtools version. This is required for reproducible builds to fetch the according
+files like `makepkg.conf`.
+
+```sh
+BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" make all
+```
+
## Releasing
1. bump the version in the Makefile