firefox: fix reproducible build.
This commit is contained in:
parent
f647f64ca7
commit
cffbdfdfcc
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'firefox'.
|
# Template build file for 'firefox'.
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=44.0.2
|
version=44.0.2
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Lightweight gecko-based web browser"
|
short_desc="Lightweight gecko-based web browser"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://www.mozilla.org/firefox/"
|
homepage="https://www.mozilla.org/firefox/"
|
||||||
|
@ -110,8 +110,11 @@ do_configure() {
|
||||||
--disable-profilelocking ${_args}
|
--disable-profilelocking ${_args}
|
||||||
}
|
}
|
||||||
do_build() {
|
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
|
cd xbps-build
|
||||||
SHELL=/bin/bash make ${makejobs}
|
SHELL=/bin/bash make ${mozdate} ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
cd xbps-build
|
cd xbps-build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue