mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
thunderbird: fix reproducible build.
This commit is contained in:
parent
8c6f96b6ad
commit
f647f64ca7
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'thunderbird'.
|
# Template build file for 'thunderbird'.
|
||||||
pkgname=thunderbird
|
pkgname=thunderbird
|
||||||
version=38.6.0
|
version=38.6.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="comm-esr${version/.*/}"
|
wrksrc="comm-esr${version/.*/}"
|
||||||
short_desc="Standalone Mail/News reader"
|
short_desc="Standalone Mail/News reader"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
@ -96,8 +96,11 @@ do_configure() {
|
||||||
--disable-profiling --disable-profilelocking
|
--disable-profiling --disable-profilelocking
|
||||||
}
|
}
|
||||||
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
Reference in a new issue