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:
Sertonix 2024-10-28 20:02:20 +00:00 committed by classabbyamp
parent 47426be25c
commit 76ad76f3e8

View File

@ -26,11 +26,6 @@ case "$XBPS_TARGET_MACHINE" in
esac
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
}