multimedia/x265: Handle badly-named download file.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-20 12:49:35 -05:00 committed by Willy Sudiarto Raharjo
parent da149cf103
commit ed65cb08e1
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -62,7 +62,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf multicoreware-$PRGNAM-$SRCNAM
tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || tar xvf $CWD/$VERSION.tar.bz2
tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || \
tar xvf $CWD/$VERSION.tar.bz2 || \
tar xvf $CWD/multicoreware-$PRGNAM-$SRCNAM.tar.bz2
cd multicoreware-$PRGNAM-$SRCNAM
chown -R root:root .
find -L . \