summaryrefslogtreecommitdiff
path: root/office/mu/mu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/mu/mu.SlackBuild')
-rw-r--r--office/mu/mu.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/office/mu/mu.SlackBuild b/office/mu/mu.SlackBuild
index 55c48893e0..0725ac6ce1 100644
--- a/office/mu/mu.SlackBuild
+++ b/office/mu/mu.SlackBuild
@@ -5,7 +5,7 @@
# Written by Jostein Berntsen <jbernts@broadpark.no>
PRGNAM=mu
-VERSION=${VERSION:-0.9.9.5}
+VERSION=${VERSION:-0.9.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,15 +42,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \