summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/x/x11/src/get-xf86-video-r128.sh
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/x/x11/src/get-xf86-video-r128.sh')
-rwxr-xr-xslackware64-current/source/x/x11/src/get-xf86-video-r128.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/slackware64-current/source/x/x11/src/get-xf86-video-r128.sh b/slackware64-current/source/x/x11/src/get-xf86-video-r128.sh
index e5d2a0592..aa3e8d03b 100755
--- a/slackware64-current/source/x/x11/src/get-xf86-video-r128.sh
+++ b/slackware64-current/source/x/x11/src/get-xf86-video-r128.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ BRANCH=${1:-master}
rm -rf xf86-video-r128
# Clone repository:
-git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-r128/
+git clone https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/
# checkout $BRANCH:
( cd xf86-video-r128
@@ -36,12 +36,14 @@ git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-r128/
HEADISAT="$( cd xf86-video-r128 && git log -1 --format=%h )"
DATE="$( cd xf86-video-r128 && git log -1 --format=%ad --date=format:%Y%m%d )"
+LONGDATE="$( cd xf86-video-r128 && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd xf86-video-r128 && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv xf86-video-r128 xf86-video-r128-${DATE}_${HEADISAT}
tar cf xf86-video-r128-${DATE}_${HEADISAT}.tar xf86-video-r128-${DATE}_${HEADISAT}
xz -9 -f xf86-video-r128-${DATE}_${HEADISAT}.tar
rm -rf xf86-video-r128-${DATE}_${HEADISAT}
+touch -d "$LONGDATE" xf86-video-r128-${DATE}_${HEADISAT}.tar.xz
echo
echo "xf86-video-r128 branch $BRANCH with HEAD at $HEADISAT packaged as xf86-video-r128-${DATE}_${HEADISAT}.tar.xz"
echo