mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
PrismLauncher: remove SOURCE_DATE_EPOCH special handling
Since cmake version 3.8 it will automatically use SOURCE_DATE_EPOCH for the build timestamp. https://cmake.org/cmake/help/latest/command/string.html#timestamp
This commit is contained in:
parent
47426be25c
commit
76ad76f3e8
1 changed files with 0 additions and 5 deletions
|
@ -26,11 +26,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local _date
|
|
||||||
if [ "$SOURCE_DATE_EPOCH" ]; then
|
|
||||||
_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
|
|
||||||
configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
|
|
||||||
fi
|
|
||||||
. /etc/profile.d/jdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue