summaryrefslogtreecommitdiff
path: root/academic/mendeleydesktop/mendeleydesktop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/mendeleydesktop/mendeleydesktop.SlackBuild')
-rw-r--r--academic/mendeleydesktop/mendeleydesktop.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/mendeleydesktop/mendeleydesktop.SlackBuild b/academic/mendeleydesktop/mendeleydesktop.SlackBuild
index 197cd9a7aa..7262c0a50a 100644
--- a/academic/mendeleydesktop/mendeleydesktop.SlackBuild
+++ b/academic/mendeleydesktop/mendeleydesktop.SlackBuild
@@ -5,7 +5,7 @@
# Written by Grissiom <chaos.proton@gmail.com>
PRGNAM=mendeleydesktop
-VERSION=${VERSION:-0.9.5.2}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,10 +51,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-rm lib/libQt* lib/libssl* lib/libpng*
+# remove the bundled qt since it should be present in the system already
+rm -rf lib/qt
rm lib/mendeleydesktop/libexec/qt.conf
rm -rf lib/mendeleydesktop/plugins
+
[ $ARCH = 'x86_64' ] && mv lib lib$LIBDIRSUFFIX
+
rm bin/mendeleydesktop
ln -s ../lib${LIBDIRSUFFIX}/mendeleydesktop/libexec/mendeleydesktop.$ARCH \
bin/mendeleydesktop