summaryrefslogtreecommitdiff
path: root/development/meld/meld.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/meld/meld.SlackBuild')
-rw-r--r--development/meld/meld.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/meld/meld.SlackBuild b/development/meld/meld.SlackBuild
index 1144209560..ceaf95a97a 100644
--- a/development/meld/meld.SlackBuild
+++ b/development/meld/meld.SlackBuild
@@ -5,7 +5,7 @@
# Written by K.D.Hedger kdhedger@yahoo.co.uk
PRGNAM=meld
-VERSION=1.3.2
+VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,14 +32,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG install