From 76ad76f3e82420212f7ec0f8d74c86a88081b767 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Mon, 28 Oct 2024 20:02:20 +0000 Subject: [PATCH] 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 --- srcpkgs/PrismLauncher/template | 5 ----- 1 file changed, 5 deletions(-) diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template index bc56c595667..8d1f0b2094d 100644 --- a/srcpkgs/PrismLauncher/template +++ b/srcpkgs/PrismLauncher/template @@ -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 }