You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
368 B
17 lines
368 B
#!/bin/sh |
|
|
|
if [[ -z "$1" ]]; then |
|
echo "Usage: $0 <version>" 1>&2 |
|
exit 1 |
|
fi |
|
|
|
VERSION=$1 |
|
NAME=AMF |
|
|
|
wget -q -c https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/v$VERSION/$NAME-$VERSION.tar.gz |
|
|
|
tar -xzf $NAME-$VERSION.tar.gz |
|
rm -f $NAME-$VERSION.tar.gz |
|
rm -fr $NAME-$VERSION/Thirdparty |
|
|
|
tar -czf $NAME-cleaned-$VERSION.tar.gz --remove-files $NAME-$VERSION
|
|
|