From f647f64ca78a45e5737670a654c75ef8b1bc161f Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 5 Mar 2016 23:39:17 +0100 Subject: [PATCH] thunderbird: fix reproducible build. --- srcpkgs/thunderbird/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template index 00f504ce3a2..87ff0cb0da1 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -1,7 +1,7 @@ # Template build file for 'thunderbird'. pkgname=thunderbird version=38.6.0 -revision=1 +revision=2 wrksrc="comm-esr${version/.*/}" short_desc="Standalone Mail/News reader" maintainer="Enno Boland " @@ -96,8 +96,11 @@ do_configure() { --disable-profiling --disable-profilelocking } do_build() { + if [ "$SOURCE_DATE_EPOCH" ]; then + mozdate="MOZ_BUILD_DATE=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d%H%M%S")" + fi cd xbps-build - SHELL=/bin/bash make ${makejobs} + SHELL=/bin/bash make ${mozdate} ${makejobs} } do_install() { cd xbps-build