forked from pool/muparser
Jan Engelhardt
0ef6e0f176
OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=7
13 lines
364 B
Bash
13 lines
364 B
Bash
#!/bin/sh -ex
|
|
|
|
in="2_2_3";
|
|
out="2.2.3";
|
|
wget -c "http://downloads.sf.net/muparser/muparser_v$in.zip";
|
|
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";
|