#!/bin/sh -ex in="2_2_4"; out="2.2.4"; unzip "muparser_v$in.zip"; mv "muparser_v$in" "muparser-$out"; find "muparser-$out" -type f "(" -iname "*.dll" -o -iname "*.lib" ")" \ -print -delete; tar --owner=root --group=root --use=xz -cf \ "muparser-$out.tar.xz" "muparser-$out"; rm -Rf "muparser-$out";