re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 10:10:30 +02:00
parent a34bbb4058
commit f9e1b77072
3 changed files with 20 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/xkeyboard-config-2.28.tar.bz2 /xkeyboard-config-.*.tar.bz2

1
commitid Normal file
View File

@ -0,0 +1 @@
19a0026b5a8bd01cfc21bc8c7342e1c4f4567161

18
make-git-snapshot.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
MODULE=xkeyboard-config
DIRNAME=$MODULE-$( date +%Y%m%d )
rm -rf $DIRNAME
git clone git://git.freedesktop.org/git/$MODULE $DIRNAME
cd $DIRNAME
if [ -z "$1" ]; then
git log | head -1
else
git checkout $1
fi
git log | head -1 | awk '{ print $2 }' > ../commitid
git repack -a -d
cd ..
tar jcf $DIRNAME.tar.bz2 $DIRNAME
rm -rf $DIRNAME