aboutsummaryrefslogtreecommitdiff
path: root/multimedia/miro/miro.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-05-05 12:29:30 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:09 -0500
commit23b18b280e70ffe537450aa061e64feddace07af (patch)
tree250b7065d2e16257a421f523b0f7d91273491c94 /multimedia/miro/miro.SlackBuild
parent345354b22778a687613ffccbeeea4aff3f86b479 (diff)
multimedia/miro: Updated for version 5.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/miro/miro.SlackBuild')
-rw-r--r--multimedia/miro/miro.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild
index 9f39a7f81f69b..6d6da2bc9ef34 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 \) \