diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index db24056b2dc..ea768c7f65d 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -1,7 +1,7 @@ # Template build file for 'firefox-esr'. pkgname=firefox-esr version=38.6.1 -revision=1 +revision=2 wrksrc="mozilla-esr${version%%.*}" short_desc="Lightweight gecko-based web browser" maintainer="Eivind Uggedal " @@ -98,8 +98,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