1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-27 07:59:56 +01:00
slackware-current/source/d/clisp/source.download

15 lines
663 B
Text
Raw Normal View History

# Pull the latest clisp sources from the upstream mercurial repository:
rm -rf clisp-2.49
hg clone http://hg.code.sf.net/p/clisp/clisp clisp-2.49
# Determine date and changeset for tarball labeling:
DATE="$(date -d "$( cd clisp-2.49 ; hg parent | grep date: | cut -b 14- | cut -f 1 -d +)" +"%Y%m%d")"
CHANGESET="$( cd clisp-2.49 ; hg parent | grep changeset: | cut -f 3 -d :)"
# Don't package .hg:
rm -fr clisp-2.49/.hg*
# Create tarball:
mv clisp-2.49 clisp-2.49.${DATE}.${CHANGESET}
tar cf clisp-2.49.${DATE}.${CHANGESET}.tar clisp-2.49.${DATE}.${CHANGESET}
plzip -9 -n 6 clisp-2.49.${DATE}.${CHANGESET}.tar
# Clean up:
rm -rf clisp-2.49.${DATE}.${CHANGESET}