diff options
Diffstat (limited to 'multimedia/miro/miro.SlackBuild')
-rw-r--r-- | multimedia/miro/miro.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild index 9f39a7f81f..6d6da2bc9e 100644 --- a/multimedia/miro/miro.SlackBuild +++ b/multimedia/miro/miro.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=miro -VERSION=4.0.6 +VERSION=5.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,6 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DIRNAME=$(tar -tf $CWD/$PRGNAM-$VERSION.tar.gz | head -1) + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -59,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $DIRNAME tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +cd $DIRNAME chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |