academic/mendeleydesktop: Updated for version 1.12.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Glenn Becker 2014-12-16 16:22:31 +07:00 committed by Willy Sudiarto Raharjo
parent caee5d250f
commit 6fc481bc09
3 changed files with 11 additions and 12 deletions

View file

@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -6,7 +6,7 @@
# Updated by Glenn Becker <burningc@sdf.org>
PRGNAM=mendeleydesktop
VERSION=${VERSION:-1.12.1}
VERSION=${VERSION:-1.12.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -45,10 +45,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-linux-${ARCH}.tar.bz2
cd $PRGNAM-$VERSION-linux-$ARCH
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 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 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# remove the bundled qt since it should be present in the system already
rm -rf lib/qt
@ -73,8 +73,8 @@ rmdir share/doc
mv * $PKG/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | \
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -1,10 +1,10 @@
PRGNAM="mendeleydesktop"
VERSION="1.12.1"
VERSION="1.12.4"
HOMEPAGE="http://www.mendeley.com/"
DOWNLOAD="http://download.mendeley.com/linux/mendeleydesktop-1.12.1-linux-i486.tar.bz2"
MD5SUM="e5ad8c24fce0285eb3513d88dd6b8a9b"
DOWNLOAD_x86_64="http://download.mendeley.com/linux/mendeleydesktop-1.12.1-linux-x86_64.tar.bz2"
MD5SUM_x86_64="4099547f4a8de0ad454e54134889a6a4"
DOWNLOAD="http://download.mendeley.com/linux/mendeleydesktop-1.12.4-linux-i486.tar.bz2"
MD5SUM="3d19007176b064908d8a92ac05919354"
DOWNLOAD_x86_64="http://download.mendeley.com/linux/mendeleydesktop-1.12.4-linux-x86_64.tar.bz2"
MD5SUM_x86_64="000cd809ac9fa5678324b77c656fd35d"
REQUIRES=""
MAINTAINER="Glenn Becker"
EMAIL="burningc@sdf.org"