#! /bin/bash version=2.0.22 prerel= src=waf-${version}${prerel}.tar.bz2 dst=${src%.tar.bz2}.stripped.tar.bz2 rm -f ${dst} ${dst%.bz2} cp -av ${src} ${dst} bzip2 -d ${dst} tar --delete --file=${dst%.bz2} \ waf-${version}/docs/sphinx/_images/waf-64x64.png \ waf-${version}/docs/slides/presentation/gfx/waflogo.svg touch -m -r ${src} ${dst%.bz2} bzip2 ${dst%.bz2}