SHA256
1
0
forked from pool/muparser
muparser/prepare-tar.sh

12 lines
302 B
Bash

#!/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";