aqute-bnd/repack-tarball.sh
Michael Simacek 23fa04639a Update to upstream version 3.3.0
- Build against osgi-{core,compendium}
2016-10-06 10:36:05 +02:00

7 lines
305 B
Bash
Executable File

#!/bin/bash
VERSION=`sed -rn 's/^Version:\s*([0-9.]+)/\1/p' aqute-bnd.spec`
wget https://github.com/bndtools/bnd/archive/$VERSION.REL.tar.gz
gunzip $VERSION.REL.tar.gz
tar tf $VERSION.REL.tar | grep -E '\.(.ar|exe|tar\.(gz|bz2|xz)|zip)$' | xargs tar --delete --file $VERSION.REL.tar
gzip $VERSION.REL.tar