diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2017-09-13 05:59:24 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-09-13 06:21:34 +0200 |
commit | 4dae3fde17d663bf39a17978c2ee365696a54fb0 (patch) | |
tree | 0c3a5f0a1a38fd35995961e550f8111cdf3ed61b /scripts/libmakepkg/source/git.sh.in | |
parent | 39319c1860d200a9b4a3cc2c6975e3cece502f2d (diff) | |
download | pacman-4dae3fde17d663bf39a17978c2ee365696a54fb0.tar.gz pacman-4dae3fde17d663bf39a17978c2ee365696a54fb0.tar.xz |
makepkg: respect $SOURCE_DATE_EPOCH to activate reproducible builds
If SOURCE_DATE_EPOCH is set, `touch` all source files between the (optional)
prepare() and build() functions to unify the modification times. This works
around build systems and compilers that embed the file modification times
into the file contents of release artifacts.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/source/git.sh.in')
0 files changed, 0 insertions, 0 deletions